Class CurveShape
CurveShape class
Represents a curved spline shape.
public sealed class CurveShape : PolygonShape
Constructors
| Name | Description |
|---|
| CurveShape() | Initializes a new instance of the CurveShape class. |
| CurveShape(PointF[]) | Initializes a new instance of the CurveShape class. The default tension of 0.5 is used. |
| CurveShape(PointF[], bool) | Initializes a new instance of the CurveShape class. The default tension of 0.5 is used. |
| CurveShape(PointF[], float) | Initializes a new instance of the CurveShape class. |
| CurveShape(PointF[], float, bool) | Initializes a new instance of the CurveShape class. |
Properties
| Name | Description |
|---|
| override Bounds { get; } | Gets the object’s bounds. |
| override Center { get; } | Gets the shape’s center. |
| virtual EndPoint { get; } | Gets the ending shape point. |
| override HasSegments { get; } | Gets a value indicating whether shape has segments. |
| IsClosed { get; set; } | Gets or sets a value indicating whether shape is closed. |
| Points { get; set; } | Gets or sets the curve points. |
| override Segments { get; } | Gets the shape segments. |
| virtual StartPoint { get; } | Gets the starting shape point. |
| Tension { get; set; } | Gets or sets the curve tension. |
Methods
| Name | Description |
|---|
| override GetBounds(Matrix) | Gets the object’s bounds. |
| override GetBounds(Matrix, Pen) | Gets the object’s bounds. |
| Reverse() | Reverses the order of points for this shape. |
| override Transform(Matrix) | Applies the specified transformation to the shape. |
See Also