[]
Represents a figure within a geometric path.
public interface IFigure
Gets a value indicating if the figure is closed, i.e. a line is drawn between the end point of the last segment and the start point.
bool Closed { get; }
Gets the maximum number of intersections that a polygon can have when testing a line.
Call the Flatten(Matrix3x2) method before using this property.
int MaxIntersections { get; }
Gets the maximum Y coordinate where the X coordinate is equal to TransformedMaxX.
Call the Flatten(Matrix3x2) method before using this property.
float MaxXMaxY { get; }
Gets the minimum Y coordinate where the X coordinate is equal to TransformedMaxX.
Call the Flatten(Matrix3x2) method before using this property.
float MaxXMinY { get; }
Gets the maximum X coordinate where the Y coordinate is equal to TransformedMaxY.
Call the Flatten(Matrix3x2) method before using this property.
float MaxYMaxX { get; }
Gets the minimum X coordinate where the Y coordinate is equal to TransformedMaxY.
Call the Flatten(Matrix3x2) method before using this property.
float MaxYMinX { get; }
Gets the maximum Y coordinate where the X coordinate is equal to TransformedMinX.
Call the Flatten(Matrix3x2) method before using this property.
float MinXMaxY { get; }
Gets the minimum Y coordinate where the X coordinate is equal to TransformedMinX.
Call the Flatten(Matrix3x2) method before using this property.
float MinXMinY { get; }
Gets the maximum X coordinate where the Y coordinate is equal to TransformedMinY.
Call the Flatten(Matrix3x2) method before using this property.
float MinYMaxX { get; }
Gets the minimum X coordinate where the Y coordinate is equal to TransformedMinY.
Call the Flatten(Matrix3x2) method before using this property.
float MinYMinX { get; }
Gets or sets the transformation matrix for a figure.
Matrix3x2 Transform { get; set; }
Gets the maximum X coordinate among the transformed points.
Call the Flatten(Matrix3x2) method before using this property.
float TransformedMaxX { get; }
Gets the maximum Y coordinate among the transformed points.
Call the Flatten(Matrix3x2) method before using this property.
float TransformedMaxY { get; }
Gets the minimum X coordinate among the transformed points.
Call the Flatten(Matrix3x2) method before using this property.
float TransformedMinX { get; }
Gets the minimum Y coordinate among the transformed points.
Call the Flatten(Matrix3x2) method before using this property.
float TransformedMinY { get; }
Gets points in world coordinates that will be joined by straight lines to form the polygon.
Call the Flatten(Matrix3x2) method before using this property.
PointF[] TransformedPoints { get; }
Creates a copy of the current figure.
IFigure Clone()
Converts each curve in this figure into a sequence of connected line segments.
bool Flatten(Matrix3x2 worldTransform)
worldTransform
System.Numerics.Matrix3x2A matrix with additional world transformation by which to transform this figure before flattening.
True if the figure has some interior
Reverses the order of points in the figure.
void Reverse()