[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.RoundRectFigure

Class RoundRectFigure

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

Represents a rounded rectangle-like closed path.

public class RoundRectFigure : IFigure
Inheritance
object
RoundRectFigure
Implements
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

RoundRectFigure(RectangleF, float, float)

Initializes a new instance of the RoundRectFigure class.

public RoundRectFigure(RectangleF bounds, float radiusX, float radiusY)

Parameters

bounds System.Drawing.RectangleF
radiusX float
radiusY float

RoundRectFigure(RectangleF, float)

Initializes a new instance of the RoundRectFigure class.

public RoundRectFigure(RectangleF bounds, float radius)

Parameters

bounds System.Drawing.RectangleF
radius float

RoundRectFigure(float, float, float, float, float, float)

Initializes a new instance of the RoundRectFigure class.

public RoundRectFigure(float x, float y, float width, float height, float radiusX, float radiusY)

Parameters

x float
y float
width float
height float
radiusX float
radiusY float

RoundRectFigure(float, float, float, float, float)

Initializes a new instance of the RoundRectFigure class.

public RoundRectFigure(float x, float y, float width, float height, float radius)

Parameters

x float
y float
width float
height float
radius float

Properties

Bounds

Gets or sets the bounds for the rounded rectangle.

public RectangleF Bounds { get; set; }

Property Value

System.Drawing.RectangleF

Counterclockwise

Gets or sets a value indicating if the points should be arranged counterclockwise.

public bool Counterclockwise { get; set; }

Property Value

bool

RadiusX

Gets or sets the x-radius for the quarter ellipse that is drawn to replace every corner of the rectangle.

public float RadiusX { get; set; }

Property Value

float

RadiusY

Gets or sets the y-radius for the quarter ellipse that is drawn to replace every corner of the rectangle.

public float RadiusY { get; set; }

Property Value

float

Transform

Gets or sets the transformation matrix.

public Matrix3x2 Transform { get; set; }

Property Value

System.Numerics.Matrix3x2

Methods

Clone()

Creates a copy of the current figure.

public IFigure Clone()

Returns

IFigure