Class LinePrimitive
Represents a line that is drawn on the screen.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.Primitives
Assembly: Telerik.WinControls.dll
Syntax
public class LinePrimitive : FillPrimitive, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, IPrimitive, IFillElement, IPrimitiveElement, IShapedElement
Constructors
LinePrimitive()
Declaration
public LinePrimitive()
Fields
LineWidthProperty
OrientationProperty
SweepAngleProperty
Properties
LineWidth
Gets or sets the line width in pixels.
Declaration
public virtual int LineWidth { get; set; }
Property Value
System.Int32
|
SeparatorOrientation
Gets or sets the line orientation. Possible values are defined in the SepOrientation enumeration.
Declaration
public virtual SepOrientation SeparatorOrientation { get; set; }
Property Value
SepOrientation
|
SweepAngle
Gets or sets the line angle in degrees.
Declaration
public virtual int SweepAngle { get; set; }
Property Value
System.Int32
|
Methods
InitializeFields()
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
PaintPrimitive(IGraphics, Single, SizeF)
Draws the primitive on the screen.
Declaration
public override void PaintPrimitive(IGraphics g, float angle, SizeF scale)
Parameters
IGraphics
g
|
System.Single
angle
|
System.Drawing.SizeF
scale
|