The Rectangle type exposes the following members.

Constructors

  NameDescription
Public methodRectangle(Rectangle)
Constructs a Rectangle-object.
Public methodRectangle(Single, Single)
Constructs a Rectangle-object starting from the origin (0, 0).
Public methodRectangle(Single, Single, Single, Single)
Constructs a Rectangle-object.

Methods

  NameDescription
Public methodCloneNonPositionParameters
Public methodDisableBorderSide
Public methodEnableBorderSide
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetBottom
Returns the lower left y-coordinate, considering a given margin.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLeft
Returns the lower left x-coordinate, considering a given margin.
Public methodGetRectangle
Gets a Rectangle that is altered to fit on the page.
Public methodGetRight
Returns the upper right x-coordinate, considering a given margin.
Public methodGetTop
Returns the upper right y-coordinate, considering a given margin.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasBorder
Indicates if the table has a some type of border.
Public methodHasBorders
Indicates if the table has borders.
Public methodIsContent
Public methodIsNestable
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNormalize
Public methodProcess
Processes the element by adding it (or the different parts) to an IElementListener.
Public methodRotate
Swaps the values of urx and ury and of lly and llx in order to rotate the rectangle.
Public methodSoftCloneNonPositionParameters
Public methodToString (Overrides Object..::..ToString()()()().)

Fields

  NameDescription
Protected fieldbackgroundColor
This is the color of the background of this rectangle.
Protected fieldborder
This represents the status of the 4 sides of the rectangle.
Protected fieldborderColor
This is the color of the border of this rectangle.
Protected fieldborderColorBottom
Protected fieldborderColorLeft
Protected fieldborderColorRight
Protected fieldborderColorTop
Protected fieldborderWidth
This is the width of the border around this rectangle.
Protected fieldborderWidthBottom
Protected fieldborderWidthLeft
Protected fieldborderWidthRight
Protected fieldborderWidthTop
Public fieldStatic memberBOTTOM_BORDER
This represents one side of the border of the Rectangle.
Public fieldStatic memberBOX
This represents a type of border.
Public fieldStatic memberLEFT_BORDER
This represents one side of the border of the Rectangle.
Protected fieldllx
the lower left x-coordinate.
Protected fieldlly
the lower left y-coordinate.
Public fieldStatic memberNO_BORDER
This represents a rectangle without borders.
Public fieldStatic memberRIGHT_BORDER
This represents one side of the border of the Rectangle.
Protected fieldrotation
This is the rotation value of this rectangle.
Public fieldStatic memberTOP_BORDER
This represents one side of the border of the Rectangle.
Public fieldStatic memberUNDEFINED
This is the value that will be used as undefined.
Protected fieldurx
the upper right x-coordinate.
Protected fieldury
the upper right y-coordinate.
Protected fielduseVariableBorders

Properties

  NameDescription
Public propertyBackgroundColor
Get/set the backgroundcolor.
Public propertyBorder
Get/set the border
Public propertyBorderColor
Get/set the color of the border.
Public propertyBorderColorBottom
Public propertyBorderColorLeft
Public propertyBorderColorRight
Public propertyBorderColorTop
Public propertyBorderWidth
Get/set the borderwidth.
Public propertyBorderWidthBottom
Public propertyBorderWidthLeft
Public propertyBorderWidthRight
Public propertyBorderWidthTop
Public propertyBottom
Get/set the lower left y-coordinate.
Public propertyChunks
Gets all the chunks in this element.
Public propertyGrayFill
Get/set the grayscale of the rectangle.
Public propertyHeight
Returns the height of the rectangle.
Public propertyLeft
Get/set the lower left x-coordinate.
Public propertyRight
Get/set the upper right x-coordinate.
Public propertyRotation
Returns the rotation
Public propertyTop
Get/set the upper right y-coordinate.
Public propertyType
Gets the type of the text element.
Public propertyUseVariableBorders
Public propertyWidth
Returns the width of the rectangle.

See Also