new
new: (() -> GeneralPath) & ((Shape) -> GeneralPath)() -> GeneralPath: An empty non-zero path.
(Shape) -> GeneralPath: The outline of s, under its winding rule.
A type alias: another name for the type it stands for.
| Method | Returns | Description |
|---|---|---|
new() | GeneralPath | () -> GeneralPath: An empty non-zero path. |
new(Shape) | GeneralPath |
| Method | Returns | Description |
|---|---|---|
GeneralPathClass.new | GeneralPath | () -> GeneralPath: An empty non-zero path. |
GeometryClass.clipPath | GeneralPath | The parts of path inside shape: lines outside it dropped, lines crossing its edge cut there. |
GeometryClass.filterPath | GeneralPath | path without the lines method(from, to) answers false for. Each end is a 1-based array {x, y} (from[1], from[2]), and index 0 rai… |
GeometryClass.splitIntoSegments | GeneralPath | path with every line cut into pieces segmentLength long (the last one what is left). A result of more than 1048576 segments raises `Out… |
GeometryClass.transformPath | GeneralPath | path with every point moved by method(coords), which changes the 1-based array {x, y} it is handed (coords[1] = x); index 0 raises.… |
PerspectiveClass.localPathToCanvas | GeneralPath | Alternative to Geometry.filterPath keeping the lines whose ends both project, then Geometry.transformPath moving each point to its `loc… |
PerspectiveClass.worldPathToLocal | GeneralPath | Alternative to Geometry.transformPath moving each point to its LocalPoint.fromWorld less LOCAL_TILE_SIZE / 2 on each axis, a plugin's… |
newnew: (() -> GeneralPath) & ((Shape) -> GeneralPath)() -> GeneralPath: An empty non-zero path.
(Shape) -> GeneralPath: The outline of s, under its winding rule.