SizeAxisUtil extension
Extension on Size that provides various directional utilities.
- on
Methods
Static Methods
-
create(
Axis axis, double cross, double main) → Size -
Creates a Size with the given
cross
andmain
extents. -
crossFrom(
Axis axis, double extent) → Size -
Creates a Size with the given cross axis
extent
and an infinite main axis extent. -
from(
Axis axis, double extent) → Size -
Creates a Size with the given main axis
extent
and an infinite cross axis extent.