SparkRenderer
Provides the base renderer for spark areas, retaining the drawing surface and exposing common graphics helpers.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class SparkRenderer : ISparkRenderer
Inheritance: objectSparkRenderer
Derived Classes:
Implements:
Constructors
Initializes a new instance of the SparkRenderer class.
Properties
Gets the graphics object.
public Graphics Graphics { get; }
The graphics.
Methods
Draws the specified context.
Initializes the renderer.
protected virtual void Initialize()
Invalidates the specified model.
Converts a RadRect to an integer rectangle by rounding each coordinate and dimension away from zero at midpoint values.
Converts a RadRect to a floating-point rectangle without integer rounding; each value is cast to float.
public static RectangleF ToRectangleF(RadRect rect)
The rectangle to convert.
Returns:A RectangleF containing the coordinates and dimensions converted to single-precision values.