Class DrawPart<T>
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.ChartView.dll
Syntax
public abstract class DrawPart<T> : IDrawPart where T : UIChartElement
Type Parameters
T
|
Constructors
DrawPart(T, IChartRenderer)
Declaration
public DrawPart(T element, IChartRenderer renderer)
Parameters
T
element
|
IChartRenderer
renderer
|
Properties
Element
Gets the element.
Declaration
public T Element { get; }
Property Value
T
The element. |
OffsetX
Gets the offset X.
Declaration
public virtual float OffsetX { get; }
Property Value
System.Single
The offset X. |
OffsetY
Gets the offset Y.
Declaration
public virtual float OffsetY { get; }
Property Value
System.Single
The offset Y. |
Renderer
Gets the renderer.
Declaration
public IChartRenderer Renderer { get; }
Property Value
IChartRenderer
The renderer. |
Implements
ViewportOffsetX
Gets the view port offset X.
Declaration
public virtual float ViewportOffsetX { get; }
Property Value
System.Single
The view port offset X. |
ViewportOffsetY
Gets the view port offset Y.
Declaration
public virtual float ViewportOffsetY { get; }
Property Value
System.Single
The view port offset Y. |
Methods
Draw()
GetLabelPosition(RadSize, RadRect)
Gets the label position.
Declaration
public virtual PointF GetLabelPosition(RadSize textSize, RadRect labelSlot)
Parameters
RadSize
textSize
Size of the text. |
RadRect
labelSlot
The label slot. |
Returns
System.Drawing.PointF
|
HitTest(Point)
Hits the test.
Declaration
public virtual DataPoint HitTest(Point location)
Parameters
System.Drawing.Point
location
The location. |
Returns
DataPoint
|
Implements
IsElementValid()
Determines whether the element is valid.
Declaration
protected virtual bool IsElementValid()
Returns
System.Boolean
|