menu
solandra package
documentation
util/convenience.dart
PointHelpers extension
PointHelpers extension
dark_mode
light_mode
PointHelpers
extension
Helpers for Point
on
Point
<
double
>
Properties
normalised
→
Point
<
double
>
Normalised version of point
no setter
offset
→
Offset
Convert to Offset
no setter
Methods
dot
(
Point
<
double
>
other
)
→
double
Dot product
pointTowards
(
Point
<
double
>
otherPoint
, {
double
proportion
=
0.5
})
→
Point
<
double
>
Go towards an other point by a proportion
rotate
(
double
angle
)
→
Point
<
double
>
Rotate (about 0,0)
solandra package
documentation
util/convenience
PointHelpers extension
convenience library