Skip to main content
Skip table of contents

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
TypeNameMethods
BaseColorBackgroundColor
Get/set the backgroundcolor.
set
intBorder
Get/set the border
set
BaseColorBorderColor
Get/set the color of the border.
set
BaseColorBorderColorBottomset
BaseColorBorderColorLeftset
BaseColorBorderColorRightset
BaseColorBorderColorTopset
floatBorderWidth
Get/set the borderwidth.
set
floatBorderWidthBottomset
floatBorderWidthLeftset
floatBorderWidthRightset
floatBorderWidthTopset
floatBottom
Get/set the lower left y-coordinate.
set
floatGrayFill
Get/set the grayscale of the rectangle.
set
floatLeft
Get/set the lower left x-coordinate.
set
floatRight
Get/set the upper right x-coordinate.
set
intRotation
Set/gets the rotation
set
floatTop
Get/set the upper right y-coordinate.
set
boolUseVariableBordersset

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
TypeNameDescription
floatllxlower left x
floatllylower left y
floaturxupper right x
floaturyupper 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
TypeNameDescription
floatllx
floatlly
floaturx
floatury
introtation
RectangleReadOnly [3/5]

Source code

public RectangleReadOnly(float urx, float ury)
Arguments
TypeNameDescription
floaturxupper right x
floaturyupper 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
TypeNameDescription
floaturx
floatury
introtation
RectangleReadOnly [5/5]

Source code

public RectangleReadOnly(Rectangle rect)
Arguments
TypeNameDescription
Rectanglerectanother Rectangle
Summary

Constructs a RectangleReadOnly-object.

Methods

CloneNonPositionParameters

Source code

public override void CloneNonPositionParameters(Rectangle rect)
Arguments
TypeNameDescription
Rectanglerect
SoftCloneNonPositionParameters

Source code

public override void SoftCloneNonPositionParameters(Rectangle rect)
Arguments
TypeNameDescription
Rectanglerect
Normalize

Source code

public override void Normalize()
EnableBorderSide

Source code

public override void EnableBorderSide(int side)
Arguments
TypeNameDescription
intside
DisableBorderSide

Source code

public override void DisableBorderSide(int side)
Arguments
TypeNameDescription
intside
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

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.