HousePosition class
Logical placement data for a single house inside the chart square.
Coordinate mapping: the chart is drawn inside a square centered on bounds whose vertices are listed in vertices. House 0 (the Lagna / label "1") is placed at the top of the square (angle -90°), then houses follow clockwise, each separated by 30°:
angle(i) = -90° + i * 30°
- i=0 -> top * i=3 -> right * i=6 -> bottom
- i=9 -> left * i=10 -> top-left-ish ...
Constructors
-
HousePosition(Rect bounds, List<
Offset> vertices) -
const
Properties
- bounds → Rect
-
Rectangle centered on the house region (clamped inside the chart square).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
vertices
→ List<
Offset> -
Polygon vertices of the house region (bounds corners).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited