[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.IFigure

Interface IFigure

Namespace
GrapeCity.Documents.Imaging
Assembly
GcDocs.Imaging.dll

Represents a figure within a geometric path.

public interface IFigure

Properties

Closed

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; }

Property Value

bool

MaxIntersections

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; }

Property Value

int

MaxXMaxY

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; }

Property Value

float

MaxXMinY

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; }

Property Value

float

MaxYMaxX

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; }

Property Value

float

MaxYMinX

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; }

Property Value

float

MinXMaxY

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; }

Property Value

float

MinXMinY

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; }

Property Value

float

MinYMaxX

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; }

Property Value

float

MinYMinX

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; }

Property Value

float

Transform

Gets or sets the transformation matrix for a figure.

Matrix3x2 Transform { get; set; }

Property Value

System.Numerics.Matrix3x2

TransformedMaxX

Gets the maximum X coordinate among the transformed points.

Call the Flatten(Matrix3x2) method before using this property.

float TransformedMaxX { get; }

Property Value

float

TransformedMaxY

Gets the maximum Y coordinate among the transformed points.

Call the Flatten(Matrix3x2) method before using this property.

float TransformedMaxY { get; }

Property Value

float

TransformedMinX

Gets the minimum X coordinate among the transformed points.

Call the Flatten(Matrix3x2) method before using this property.

float TransformedMinX { get; }

Property Value

float

TransformedMinY

Gets the minimum Y coordinate among the transformed points.

Call the Flatten(Matrix3x2) method before using this property.

float TransformedMinY { get; }

Property Value

float

TransformedPoints

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; }

Property Value

System.Drawing.PointF[]

Methods

Clone()

Creates a copy of the current figure.

IFigure Clone()

Returns

IFigure

Flatten(Matrix3x2)

Converts each curve in this figure into a sequence of connected line segments.

bool Flatten(Matrix3x2 worldTransform)

Parameters

worldTransform System.Numerics.Matrix3x2

A matrix with additional world transformation by which to transform this figure before flattening.

Returns

bool

True if the figure has some interior

Reverse()

Reverses the order of points in the figure.

void Reverse()