OvalBounds class abstract

Gives the x and y limits of the bounding box at a given rotation relative to the center of the oval.

Algorithm sourced from Math StackExchange answer: AUTHOR = {J. M. isn't a mathematician (https://math.stackexchange.com/users/498/j-m-isnt-a-mathematician)}, URL = {https://math.stackexchange.com/q/91304}

Dart implementation written by Rory Stephenson.

Constructors

OvalBounds()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

boundsAtRotation(double width, double height, double radians) Offset
boundX(double width, double height, double radians) double
boundY(double width, double height, double radians) double

Constants

halfPi → const double
oneAndAHalfPi → const double
twoPi → const double