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.ComponentModel.IContainer
container
|
CustomShape(Rectangle)
Declaration
public CustomShape(Rectangle rect)
Parameters
System.Drawing.Rectangle
rect
|
Properties
AsString
Declaration
public string AsString { get; set; }
Property Value
System.String
|
Dimension
Declaration
public Rectangle Dimension { get; set; }
Property Value
System.Drawing.Rectangle
|
Shape
Methods
AddBezier(PointF, PointF, PointF, PointF)
Declaration
public void AddBezier(PointF from, PointF ctrl1, PointF ctrl2, PointF to)
Parameters
System.Drawing.PointF
from
|
System.Drawing.PointF
ctrl1
|
System.Drawing.PointF
ctrl2
|
System.Drawing.PointF
to
|
AddLine(PointF, PointF)
Declaration
public void AddLine(PointF from, PointF to)
Parameters
System.Drawing.PointF
from
|
System.Drawing.PointF
to
|
AppendBezier(PointF, PointF, PointF)
Declaration
public bool AppendBezier(PointF ctrl1, PointF ctrl2, PointF to)
Parameters
System.Drawing.PointF
ctrl1
|
System.Drawing.PointF
ctrl2
|
System.Drawing.PointF
to
|
Returns
System.Boolean
|
AppendLine(PointF)
Declaration
public bool AppendLine(PointF to)
Parameters
System.Drawing.PointF
to
|
Returns
System.Boolean
|
Clone()
CloseFigureUsingBezier(PointF, PointF)
Declaration
public bool CloseFigureUsingBezier(PointF ctrl1, PointF ctrl2)
Parameters
System.Drawing.PointF
ctrl1
|
System.Drawing.PointF
ctrl2
|
Returns
System.Boolean
|
CloseFigureUsingLine()
Declaration
public bool CloseFigureUsingLine()
Returns
System.Boolean
|
CopyFrom(CustomShape)
CreateClosedShape(List<PointF>)
Declaration
public bool CreateClosedShape(List<PointF> points)
Parameters
System.Collections.Generic.List<System.Drawing.PointF>
points
|
Returns
System.Boolean
|
CreateClosedShape(PointF[])
Declaration
public bool CreateClosedShape(PointF[] points)
Parameters
System.Drawing.PointF[]
points
|
Returns
System.Boolean
|
CreateClosedShape(ShapePoint[])
Declaration
protected bool CreateClosedShape(ShapePoint[] pts)
Parameters
ShapePoint[]
pts
|
Returns
System.Boolean
|
CreatePath(Rectangle)
Declaration
public override GraphicsPath CreatePath(Rectangle bounds)
Parameters
System.Drawing.Rectangle
bounds
|
Returns
System.Drawing.Drawing2D.GraphicsPath
|
Overrides
CreateRectangleShape(PointF, PointF)
Declaration
public void CreateRectangleShape(PointF from, PointF to)
Parameters
System.Drawing.PointF
from
|
System.Drawing.PointF
to
|
CreateRectangleShape(PointF, SizeF)
Declaration
public void CreateRectangleShape(PointF pos, SizeF size)
Parameters
System.Drawing.PointF
pos
|
System.Drawing.SizeF
size
|
CreateRectangleShape(Rectangle)
Declaration
public void CreateRectangleShape(Rectangle rect)
Parameters
System.Drawing.Rectangle
rect
|
CreateRectangleShape(Single, Single, Single, Single)
Declaration
public void CreateRectangleShape(float x, float y, float width, float height)
Parameters
System.Single
x
|
System.Single
y
|
System.Single
width
|
System.Single
height
|
DeserializeProperties(String)
Deserializes properties. Required for telerik deserialization mechanism.
Declaration
public override void DeserializeProperties(string propertiesString)
Parameters
System.String
propertiesString
|
Overrides
DoFixDimension()
Declaration
public bool DoFixDimension()
Returns
System.Boolean
|
DoFixDimension(Boolean)
Declaration
public bool DoFixDimension(bool forceFix)
Parameters
System.Boolean
forceFix
|
Returns
System.Boolean
|
GetBoundingRectangle()
Declaration
public RectangleF GetBoundingRectangle()
Returns
System.Drawing.RectangleF
|
SerializeProperties()
Serializes properties. Required for telerik serialization mechanism.
Declaration
public override string SerializeProperties()
Returns
System.String
|