Rectangle Constructors

Overloads

Rectangle(Single, Single, Single, Single)Initializes a new instance of the Rectangle class.
Rectangle(Single, Single, Single, Single, Color)Initializes a new instance of the Rectangle class.
Rectangle(Single, Single, Single, Single, Color, Color)Initializes a new instance of the Rectangle class.
Rectangle(Single, Single, Single, Single, Color, Color, Single)Initializes a new instance of the Rectangle class.
Rectangle(Single, Single, Single, Single, Color, Color, Single, LineStyle)Initializes a new instance of the Rectangle class.
Rectangle(Single, Single, Single, Single, Color, Single)Initializes a new instance of the Rectangle class.
Rectangle(Single, Single, Single, Single, Color, Single, LineStyle)Initializes a new instance of the Rectangle class.
Rectangle(Single, Single, Single, Single, Single)Initializes a new instance of the Rectangle class.
Rectangle(Single, Single, Single, Single, Single, Color)Initializes a new instance of the Rectangle class.
Rectangle(Single, Single, Single, Single, Single, LineStyle)Initializes a new instance of the Rectangle class.

Rectangle(Single, Single, Single, Single)

Initializes a new instance of the Rectangle class.

public Rectangle(float x, float y, float width, float height)
Public Sub New (x As Single, y As Single, width As Single, height As Single)

Parameters

x
Single

X coordinate of the rectangle.

y
Single

Y coordinate of the rectangle.

width
Single

Width of the rectangle.

height
Single

Height of the rectangle.

Licensing Info

This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Rectangle(Single, Single, Single, Single, Color)

Initializes a new instance of the Rectangle class.

public Rectangle(float x, float y, float width, float height, Color borderColor)
Public Sub New (x As Single, y As Single, width As Single, height As Single, borderColor As Color)

Parameters

x
Single

X coordinate of the rectangle.

y
Single

Y coordinate of the rectangle.

width
Single

Width of the rectangle.

height
Single

Height of the rectangle.

borderColor
Color

Color of the border of the rectangle.

Licensing Info

This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Rectangle(Single, Single, Single, Single, Color, Color)

Initializes a new instance of the Rectangle class.

public Rectangle(float x, float y, float width, float height, Color borderColor, Color fillColor)
Public Sub New (x As Single, y As Single, width As Single, height As Single, borderColor As Color, fillColor As Color)

Parameters

x
Single

X coordinate of the rectangle.

y
Single

Y coordinate of the rectangle.

width
Single

Width of the rectangle.

height
Single

Height of the rectangle.

borderColor
Color

Color of the border of the rectangle.

fillColor
Color

Color of the fill of the rectangle.

Licensing Info

This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Rectangle(Single, Single, Single, Single, Color, Color, Single)

Initializes a new instance of the Rectangle class.

public Rectangle(float x, float y, float width, float height, Color borderColor, Color fillColor, float borderWidth)
Public Sub New (x As Single, y As Single, width As Single, height As Single, borderColor As Color, fillColor As Color, borderWidth As Single)

Parameters

x
Single

X coordinate of the rectangle.

y
Single

Y coordinate of the rectangle.

width
Single

Width of the rectangle.

height
Single

Height of the rectangle.

borderColor
Color

Color of the border of the rectangle.

fillColor
Color

Color of the fill of the rectangle.

borderWidth
Single

Width of the border of the rectangle.

Licensing Info

This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Rectangle(Single, Single, Single, Single, Color, Color, Single, LineStyle)

Initializes a new instance of the Rectangle class.

public Rectangle(float x, float y, float width, float height, Color borderColor, Color fillColor, float borderWidth, LineStyle borderStyle)
Public Sub New (x As Single, y As Single, width As Single, height As Single, borderColor As Color, fillColor As Color, borderWidth As Single, borderStyle As LineStyle)

Parameters

x
Single

X coordinate of the rectangle.

y
Single

Y coordinate of the rectangle.

width
Single

Width of the rectangle.

height
Single

Height of the rectangle.

borderColor
Color

Color of the border of the rectangle.

fillColor
Color

Color of the fill of the rectangle.

borderWidth
Single

Width of the border of the rectangle.

borderStyle
LineStyle

Style of the border of the rectangle.

Licensing Info

This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Rectangle(Single, Single, Single, Single, Color, Single)

Initializes a new instance of the Rectangle class.

public Rectangle(float x, float y, float width, float height, Color borderColor, float borderWidth)
Public Sub New (x As Single, y As Single, width As Single, height As Single, borderColor As Color, borderWidth As Single)

Parameters

x
Single

X coordinate of the rectangle.

y
Single

Y coordinate of the rectangle.

width
Single

Width of the rectangle.

height
Single

Height of the rectangle.

borderColor
Color

Color of the border of the rectangle.

borderWidth
Single

Width of the border of the rectangle.

Licensing Info

This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Rectangle(Single, Single, Single, Single, Color, Single, LineStyle)

Initializes a new instance of the Rectangle class.

public Rectangle(float x, float y, float width, float height, Color borderColor, float borderWidth, LineStyle borderStyle)
Public Sub New (x As Single, y As Single, width As Single, height As Single, borderColor As Color, borderWidth As Single, borderStyle As LineStyle)

Parameters

x
Single

X coordinate of the rectangle.

y
Single

Y coordinate of the rectangle.

width
Single

Width of the rectangle.

height
Single

Height of the rectangle.

borderColor
Color

Color of the border of the rectangle.

borderWidth
Single

Width of the border of the rectangle.

borderStyle
LineStyle

Style of the border of the rectangle.

Licensing Info

This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Rectangle(Single, Single, Single, Single, Single)

Initializes a new instance of the Rectangle class.

public Rectangle(float x, float y, float width, float height, float borderWidth)
Public Sub New (x As Single, y As Single, width As Single, height As Single, borderWidth As Single)

Parameters

x
Single

X coordinate of the rectangle.

y
Single

Y coordinate of the rectangle.

width
Single

Width of the rectangle.

height
Single

Height of the rectangle.

borderWidth
Single

Width of the border of the rectangle.

Licensing Info

This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Rectangle(Single, Single, Single, Single, Single, Color)

Initializes a new instance of the Rectangle class.

public Rectangle(float x, float y, float width, float height, float borderWidth, Color fillColor)
Public Sub New (x As Single, y As Single, width As Single, height As Single, borderWidth As Single, fillColor As Color)

Parameters

x
Single

X coordinate of the rectangle.

y
Single

Y coordinate of the rectangle.

width
Single

Width of the rectangle.

height
Single

Height of the rectangle.

borderWidth
Single

Width of the border of the rectangle.

fillColor
Color

Color of the fill of the rectangle.

Licensing Info

This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Rectangle(Single, Single, Single, Single, Single, LineStyle)

Initializes a new instance of the Rectangle class.

public Rectangle(float x, float y, float width, float height, float borderWidth, LineStyle borderStyle)
Public Sub New (x As Single, y As Single, width As Single, height As Single, borderWidth As Single, borderStyle As LineStyle)

Parameters

x
Single

X coordinate of the rectangle.

y
Single

Y coordinate of the rectangle.

width
Single

Width of the rectangle.

height
Single

Height of the rectangle.

borderWidth
Single

Width of the border of the rectangle.

borderStyle
LineStyle

Style of the border of the rectangle.

Licensing Info

This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

See Also

Rectangle
ceTe.DynamicPDF.PageElements

In this topic