UDocShapeGeometry class
Converts normalised shape geometry to pixels on a surface of size.
Constructors
- UDocShapeGeometry(Size size, UDocShapeSpace space, {Offset origin = Offset.zero})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- origin → Offset
-
Where this surface starts inside the full one (an EPUB paragraph continued on a later page).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → Size
-
final
- space → UDocShapeSpace
-
final
Methods
-
deltaToNormal(
Offset pixels) → Offset - A vector (no origin shift) in normalised units.
-
lengthToNormal(
double pixels) → double -
lengthToPixels(
double value) → double -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rectToPixels(
Rect rect) → Rect -
toNormal(
Offset pixel) → Offset -
toPixels(
Offset point) → Offset -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited