Class CustomShape
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public class CustomShape : ElementShape
Constructors
CustomShape()
Declaration
public CustomShape()
CustomShape(IContainer)
Declaration
public CustomShape(IContainer container)
Parameters
System.
|
CustomShape(Rectangle)
Declaration
public CustomShape(Rectangle rect)
Parameters
System.
|
Properties
AsString
Declaration
public string AsString { get; set; }
Property Value
System.
|
Dimension
Declaration
public Rectangle Dimension { get; set; }
Property Value
System.
|
Shape
Methods
AddBezier(PointF, PointF, PointF, PointF)
Declaration
public void AddBezier(PointF from, PointF ctrl1, PointF ctrl2, PointF to)
Parameters
System.
|
System.
|
System.
|
System.
|
AddLine(PointF, PointF)
Declaration
public void AddLine(PointF from, PointF to)
Parameters
System.
|
System.
|
AppendBezier(PointF, PointF, PointF)
Declaration
public bool AppendBezier(PointF ctrl1, PointF ctrl2, PointF to)
Parameters
System.
|
System.
|
System.
|
Returns
System.
|
AppendLine(PointF)
Declaration
public bool AppendLine(PointF to)
Parameters
System.
|
Returns
System.
|
Clone()
CloseFigureUsingBezier(PointF, PointF)
Declaration
public bool CloseFigureUsingBezier(PointF ctrl1, PointF ctrl2)
Parameters
System.
|
System.
|
Returns
System.
|
CloseFigureUsingLine()
Declaration
public bool CloseFigureUsingLine()
Returns
System.
|
CopyFrom(CustomShape)
CreateClosedShape(List<PointF>)
Declaration
public bool CreateClosedShape(List<PointF> points)
Parameters
System.
|
Returns
System.
|
CreateClosedShape(PointF[])
Declaration
public bool CreateClosedShape(PointF[] points)
Parameters
System.
|
Returns
System.
|
CreateClosedShape(ShapePoint[])
Declaration
protected bool CreateClosedShape(ShapePoint[] pts)
Parameters
Shape
|
Returns
System.
|
CreatePath(Rectangle)
Declaration
public override GraphicsPath CreatePath(Rectangle bounds)
Parameters
System.
|
Returns
System.
|
Overrides
CreateRectangleShape(PointF, PointF)
Declaration
public void CreateRectangleShape(PointF from, PointF to)
Parameters
System.
|
System.
|
CreateRectangleShape(PointF, SizeF)
Declaration
public void CreateRectangleShape(PointF pos, SizeF size)
Parameters
System.
|
System.
|
CreateRectangleShape(Rectangle)
Declaration
public void CreateRectangleShape(Rectangle rect)
Parameters
System.
|
CreateRectangleShape(Single, Single, Single, Single)
Declaration
public void CreateRectangleShape(float x, float y, float width, float height)
Parameters
System.
|
System.
|
System.
|
System.
|
DeserializeProperties(String)
Deserializes properties. Required for telerik deserialization mechanism.
Declaration
public override void DeserializeProperties(string propertiesString)
Parameters
System.
|
Overrides
DoFixDimension()
Declaration
public bool DoFixDimension()
Returns
System.
|
DoFixDimension(Boolean)
Declaration
public bool DoFixDimension(bool forceFix)
Parameters
System.
|
Returns
System.
|
GetBoundingRectangle()
Declaration
public RectangleF GetBoundingRectangle()
Returns
System.
|
SerializeProperties()
Serializes properties. Required for telerik serialization mechanism.
Declaration
public override string SerializeProperties()
Returns
System.
|