Alignment class
- Inheritance
-
- Object
- AlignmentGeometry
- Alignment
- Implementers
Properties
Methods
-
alongSize(
PdfPoint other) → PdfPoint - Returns the offset that is this fraction within the given size.
-
inscribe(
PdfPoint size, PdfRect rect) → PdfRect - Returns a rect of the given size, aligned within given rect as specified by this alignment.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
TextDirection? direction) → Alignment -
Convert this instance into an Alignment, which uses literal
coordinates (the
x
coordinate being explicitly a distance from the left).override -
toString(
) → String -
A string representation of this object.
override
-
withinRect(
PdfRect rect) → PdfPoint - Returns the point that is this fraction within the given rect.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- bottomCenter → const Alignment
- The center point along the bottom edge.
- bottomLeft → const Alignment
- The bottom left corner.
- bottomRight → const Alignment
- The bottom right corner.
- center → const Alignment
- The center point, both horizontally and vertically.
- centerLeft → const Alignment
- The center point along the left edge.
- centerRight → const Alignment
- The center point along the right edge.
- topCenter → const Alignment
- The center point along the top edge.
- topLeft → const Alignment
- The top left corner.
- topRight → const Alignment
- The top right corner.