ClassCustomShape
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public class CustomShape : ElementShape, IComponent, IDisposable
Inheritance: objectMarshalByRefObjectComponentElementShapeCustomShape
Derived Classes:
Implements:
Inherited Members
Constructors
CustomShape()
Declaration
public CustomShape()
CustomShape(IContainer)
Declaration
public CustomShape(IContainer container)
Parameters
container
Properties
Shape
Declaration
public ShapeLinesCollection Shape { get; set; }
Property Value
Methods
CreateClosedShape(ShapePoint[])
Declaration
protected bool CreateClosedShape(ShapePoint[] pts)
Parameters
pts
Returns
CreatePath(Rectangle)
Creates a GraphicsPath using the specified rectangle as bounds. This method must be implemented by derived classes.
Declaration
public override GraphicsPath CreatePath(Rectangle bounds)
Parameters
bounds
The rectangle defining the bounds for the shape.
Returns
A GraphicsPath representing the shape within the specified bounds.
Overrides
CreateRectangleShape(Rectangle)
Declaration
public void CreateRectangleShape(Rectangle rect)
Parameters
rect
DeserializeProperties(string)
Deserializes properties. Required for telerik deserialization mechanism.
Declaration
public override void DeserializeProperties(string propertiesString)
Parameters
propertiesString
Overrides
SerializeProperties()
Serializes properties. Required for telerik serialization mechanism.