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 |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Methods
Public methods
|
Returns |
Name |
|---|---|
|
|
(
rect) |
|
|
( |
|
|
( |
|
|
() |
|
|
(
rect) |
|
|
() |
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 |
|---|---|---|
|
|
llx |
lower left x |
|
|
lly |
lower left y |
|
|
urx |
upper right x |
|
|
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 |
|---|---|---|
|
|
llx |
|
|
|
lly |
|
|
|
urx |
|
|
|
ury |
|
|
|
rotation |
RectangleReadOnly [3/5]
Source code
public RectangleReadOnly(float urx, float ury)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
urx |
upper right x |
|
|
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 |
|---|---|---|
|
|
urx |
|
|
|
ury |
|
|
|
rotation |
RectangleReadOnly [5/5]
Source code
public RectangleReadOnly(Rectangle rect)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
rect |
another Rectangle |
Summary
Constructs a RectangleReadOnly-object.
Methods
CloneNonPositionParameters
Source code
public override void CloneNonPositionParameters(Rectangle rect)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
rect |
SoftCloneNonPositionParameters
Source code
public override void SoftCloneNonPositionParameters(Rectangle rect)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
rect |
Normalize
Source code
public override void Normalize()
EnableBorderSide
Source code
public override void EnableBorderSide(int side)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
side |
DisableBorderSide
Source code
public override void DisableBorderSide(int side)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
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