Class LinePrimitive
Represents a line that is drawn on the screen.
Inheritance
System.Object
LinePrimitive
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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.
|
SeparatorOrientation
Gets or sets the line orientation. Possible values are defined in the SepOrientation enumeration.
Declaration
public virtual SepOrientation SeparatorOrientation { get; set; }
Property Value
SweepAngle
Gets or sets the line angle in degrees.
Declaration
public virtual int SweepAngle { get; set; }
Property Value
System.
|
Methods
InitializeFields()
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.
|
Returns
System.
|
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.
|
System.
|