ClassSparkRenderer
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class SparkRenderer : ISparkRenderer
Inheritance: objectSparkRenderer
Derived Classes:
Implements:
Constructors
SparkRenderer(SparkArea)
Initializes a new instance of the SparkRenderer class.
Declaration
public SparkRenderer(SparkArea area)
Parameters
area
The area.
Properties
Graphics
Gets the graphics object.
Declaration
public Graphics Graphics { get; }
Property Value
The graphics.
Methods
Draw(object)
Draws the specified context.
Declaration
public virtual void Draw(object context)
Parameters
context
The context.
Implements
GetDistanceBetweenPoints(PointF, PointF)
Gets the distance between points.
HitTest(int, int)
Returns the DataPoint that hits the passed x,y coordinates.
Declaration
public virtual SparkDataPoint HitTest(int x, int y)
Parameters
x
The x.
y
The y.
Returns
Implements
Initialize()
Initializes the renderer.
Declaration
protected virtual void Initialize()
Invalidate(object)
Invalidates the specified model.
Declaration
public virtual void Invalidate(object model)
Parameters
model
The model.
Implements
MeasureText(string, object)
Measures the text.
ToPoint(RadPoint)
Returns Point for the gives RadPoint.
ToPointF(RadPoint)
Returns PointF for the gives RadPoint.
ToRectangleF(RadRect)
Declaration
public static RectangleF ToRectangleF(RadRect rect)
Parameters
rect
Returns
ToSize(RadSize)
Returns Size for the gives RadSize.
ToSizeF(RadSize)
Returns SizeF for the gives RadSize.