iText 5

RectangleReadOnly

RectangleReadOnly Public class

Description

A RectangleReadOnly is the representation of a geometric figure. It's the same as a Rectangle but immutable.

Diagram

flowchart LR classDef interfaceStyle stroke-dasharray: 5 5; classDef abstractStyle stroke-width:4px subgraph iTextSharp.text iTextSharp.text.RectangleReadOnly[[RectangleReadOnly]] iTextSharp.text.Rectangle[[Rectangle]] end iTextSharp.text.Rectangle --> iTextSharp.text.RectangleReadOnly

Members

Properties

Public properties

Type

Name

Methods

BaseColor

BackgroundColor


Get/set the backgroundcolor.

set

int

Border


Get/set the border

set

BaseColor

BorderColor


Get/set the color of the border.

set

BaseColor

BorderColorBottom

set

BaseColor

BorderColorLeft

set

BaseColor

BorderColorRight

set

BaseColor

BorderColorTop

set

float

BorderWidth


Get/set the borderwidth.

set

float

BorderWidthBottom

set

float

BorderWidthLeft

set

float

BorderWidthRight

set

float

BorderWidthTop

set

float

Bottom


Get/set the lower left y-coordinate.

set

float

GrayFill


Get/set the grayscale of the rectangle.

set

float

Left


Get/set the lower left x-coordinate.

set

float

Right


Get/set the upper right x-coordinate.

set

int

Rotation


Set/gets the rotation

set

float

Top


Get/set the upper right y-coordinate.

set

bool

UseVariableBorders

set

Methods

Public methods

Details

Summary

A RectangleReadOnly is the representation of a geometric figure. It's the same as a Rectangle but immutable.

Inheritance

Constructors

RectangleReadOnly [1/5]

Source code

public RectangleReadOnly(float llx, float lly, float urx, float ury)

Arguments

Type

Name

Description

float

llx

lower left x

float

lly

lower left y

float

urx

upper right x

float

ury

upper right y

Summary

Constructs a RectangleReadOnly-object.

RectangleReadOnly [2/5]

Source code

public RectangleReadOnly(float llx, float lly, float urx, float ury, int rotation)

Arguments

Type

Name

Description

float

llx

float

lly

float

urx

float

ury

int

rotation

RectangleReadOnly [3/5]

Source code

public RectangleReadOnly(float urx, float ury)

Arguments

Type

Name

Description

float

urx

upper right x

float

ury

upper right y

Summary

Constructs a RectangleReadOnly-object starting from the origin (0, 0).

RectangleReadOnly [4/5]

Source code

public RectangleReadOnly(float urx, float ury, int rotation)

Arguments

Type

Name

Description

float

urx

float

ury

int

rotation

RectangleReadOnly [5/5]

Source code

public RectangleReadOnly(Rectangle rect)

Arguments

Type

Name

Description

Rectangle

rect

another Rectangle

Summary

Constructs a RectangleReadOnly-object.

Methods

CloneNonPositionParameters

Source code

public override void CloneNonPositionParameters(Rectangle rect)

Arguments

Type

Name

Description

Rectangle

rect

SoftCloneNonPositionParameters

Source code

public override void SoftCloneNonPositionParameters(Rectangle rect)

Arguments

Type

Name

Description

Rectangle

rect

Normalize

Source code

public override void Normalize()

EnableBorderSide

Source code

public override void EnableBorderSide(int side)

Arguments

Type

Name

Description

int

side

DisableBorderSide

Source code

public override void DisableBorderSide(int side)

Arguments

Type

Name

Description

int

side

ToString

Source code

public override string ToString()

Properties

Top

public override float Top { set; }

Summary

Get/set the upper right y-coordinate.

Value

a float

Border

public override int Border { set; }

Summary

Get/set the border

Value

a int

GrayFill

public override float GrayFill { set; }

Summary

Get/set the grayscale of the rectangle.

Value

a float

Left

public override float Left { set; }

Summary

Get/set the lower left x-coordinate.

Value

a float

Right

public override float Right { set; }

Summary

Get/set the upper right x-coordinate.

Value

a float

Bottom

public override float Bottom { set; }

Summary

Get/set the lower left y-coordinate.

Value

a float

BorderColorBottom

public override BaseColor BorderColorBottom { set; }

BorderColorTop

public override BaseColor BorderColorTop { set; }

BorderColorLeft

public override BaseColor BorderColorLeft { set; }

BorderColorRight

public override BaseColor BorderColorRight { set; }

BorderWidth

public override float BorderWidth { set; }

Summary

Get/set the borderwidth.

Value

a float

BorderColor

public override BaseColor BorderColor { set; }

Summary

Get/set the color of the border.

Value

a BaseColor

BackgroundColor

public override BaseColor BackgroundColor { set; }

Summary

Get/set the backgroundcolor.

Value

a BaseColor

Rotation

public override int Rotation { set; }

Summary

Set/gets the rotation

Value

a int

BorderWidthLeft

public override float BorderWidthLeft { set; }

BorderWidthRight

public override float BorderWidthRight { set; }

BorderWidthTop

public override float BorderWidthTop { set; }

BorderWidthBottom

public override float BorderWidthBottom { set; }

UseVariableBorders

public override bool UseVariableBorders { set; }

Generated with ModularDoc