PdfRoundedRectangleElement Class

Defines a rectangle with rounded corners drawn in a PDF document. Coordinates are relative to the top-left corner of the page or template

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.9.2
C#
public class PdfRoundedRectangleElement
Inheritance
Object    PdfRoundedRectangleElement

Constructors

PdfRoundedRectangleElement Initializes a new instance of the PdfRoundedRectangleElement class with the specified position, dimensions and corner radius

Properties

Accessibility Accessibility metadata used when the host PdfDocument is tagged. The default structure type is Artifact, marking the element as decorative graphic excluded from the structure tree
Border The stroke style for the border, including width, dash pattern and corner join style
BorderColor The border color of the rectangle. When null the rectangle is only filled
BorderOpacity The opacity of the rectangle border in the range 0..1. The default value is 1 which produces a fully opaque border
CornerRadius The radius applied to each of the four corners in points. Values are automatically clamped to half of the shorter side at render time to keep the geometry consistent
FillColor The fill color of the rectangle. When null the rectangle is only stroked
FillOpacity The opacity of the rectangle fill in the range 0..1. The default value is 1 which produces a fully opaque fill
Height The height of the rectangle in points
RotationDegrees The rotation angle in degrees applied to the rectangle. Positive values rotate counter-clockwise. The default value is 0 which produces no rotation
RotationPivot The pivot point used when rotating this rectangle. The default value is TopLeft
Width The width of the rectangle in points
X The X position from the top-left corner of the page in points
Y The Y position from the top-left corner of the page in points

Methods

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also