Figure Class
Represents a geometric figure in a
Path, composed of a sequence of path segments.
Namespace: KGySoft.Drawing.ShapesAssembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
public sealed class Figure
Public NotInheritable Class Figure
public ref class Figure sealed
[<SealedAttribute>]
type Figure = class end
- Inheritance
- Object Figure
This class is meant to provide information about a figure in a
Path instance for interoperability with other libraries, and it cannot be used to modify the figure.
To add new figures or path segments to a
Path, use its public
StartFigure and
Add... methods instead.
To get the path segments in this figure, use the Segments property.
To get the flattened points that define this figure, you can also use the GetFlattenedPoints method.
| IsClosed |
Gets whether this Figure is closed.
|
| IsEmpty |
Gets whether this Figure contains no segments.
|
| Segments |
Gets a read-only collection of the PathSegment objects this Figure consists of.
|
| GetFlattenedPoints |
Gets the flattened points that define this Figure as a polyline or a closed polygon.
|