SparkDrawPart<T>
Class
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Type Parameters:
T
Syntax:
C#
public abstract class SparkDrawPart<T> : ISparkDrawPart where T : UISparkElement
Inheritance: objectSparkDrawPart<T>
Derived Classes:
Implements:
Constructors
C#
public SparkDrawPart(T element, ISparkRenderer renderer)
Properties
Gets the element.
C#
public T Element { get; }
The element.
Gets the offset X.
C#
public virtual float OffsetX { get; }
The offset X.
Gets the offset Y.
C#
public virtual float OffsetY { get; }
The offset Y.
Gets the context object which will be painted as fill.
C#
public object PaintContext { get; }
The renderer.
Implements:
Gets the renderer.
C#
public ISparkRenderer Renderer { get; }
The renderer.
Implements:
Gets the view port offset X.
C#
public virtual float ViewportOffsetX { get; }
The view port offset X.
Gets the view port offset Y.
C#
public virtual float ViewportOffsetY { get; }
The view port offset Y.
Methods
Draws this instance.
C#
public abstract void Draw()
Implements:
Hits the test.
C#
public virtual SparkDataPoint HitTest(Point location)
The location.
Returns:Implements:
Determines whether the element is valid.
C#
protected virtual void PaintFill(GraphicsPath path, Color fillColor)
C#
protected virtual void PaintStroke(GraphicsPath path, Color borderColor, float width)
C#
protected virtual void PaintStroke(GraphicsPath path, Color borderColor)