-
- All Implemented Interfaces:
-
nl.dionsegijn.konfetti.core.models.Shape
public final class Shape.Rectangle implements Shape
-
-
Field Summary
Fields Modifier and Type Field Description private final FloatheightRatio
-
Constructor Summary
Constructors Constructor Description Shape.Rectangle(Float heightRatio)
-
Method Summary
Modifier and Type Method Description final FloatgetHeightRatio()The ratio of height to width. -
-
Constructor Detail
-
Shape.Rectangle
Shape.Rectangle(Float heightRatio)
-
-
Method Detail
-
getHeightRatio
final Float getHeightRatio()
The ratio of height to width. Must be within range 0, 1
-
-
-
-