Package-level declarations
Types
A Polygon with internal angles all <= 180°
Provides a way to create Paths programmatically.
Provides a mechanism to measure the size of a Path.
A rectangular ConvexPolygon with 4 sides at right-angles.
Determines how to connect current and end points in a Path
Properties
The circle's circumference (2 * PI * Circle.radius)
The circle's diameter (2 * Circle.radius)
Creates a builder that is initialized with the current path and allows further modifications. The resulting path from that builder is different from the one then was called on.
Functions
Returns a rectangle with the same width/height but positioned at the given point
Returns a rectangle with the same width/height but positioned at the given x,y
Creates a Regular polygon by inscribing it within the ellipse.
Creates a Circle that is inscribed within the rectangle
Creates an Ellipse that is inscribed within the rectangle
Rectangle that has been adjusted as follows [x + left, y + top, w - (left + right), h - (top + bottom)], where the adjustments are from the inset
Rectangle that has been adjusted as follows [x + i, y + i, w - 2i, h - 2i], where i is the inset
Rectangle that has been adjusted as follows [x + left, y + top, w - (left + right), h - (top + bottom)].
Calculate the interior angle between 2 vectors =>angle := cos(α) = a·b / (|a|·|b|).
Draws a line from the current point to this one.
Create a new ConvexPolygon with each point transformed by transform.
Moves from the current point to this one.
Creates a Path at the given point and a builder to further define it.
Creates a Path from the path data string.
Creates a Path at the given x,y and a builder to further define it.
Create a new ConvexPolygon with the same points, but in reversed order.
Creates a rounded shape from a Polygon. The resulting shape is essentially a polygon with the vertices rounded using a semicircular curve.
Creates a Star with n points that is described by an outer and inner Circle, which its concave and convex points respectively.
Creates a rounded star.
Returns a new Rectangle with the specified size, and all the other dimensions from this one.