public class Path extends Objs
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier | Constructor and Description |
---|---|
protected |
Path(Objs.Constructor<?> c,
Object js) |
Modifier and Type | Method and Description |
---|---|
static Path |
$as(Object obj) |
BBox |
bezierBBox(Array<Number> bez) |
BBox |
bezierBBox(double... args) |
Objs |
findDotsAtSegment(double p1x,
double p1y,
double c1x,
double c1y,
double c2x,
double c2y,
double p2x,
double p2y,
double t) |
BBox |
getBBox(String path) |
Objs |
getPointAtLength(String path,
double length) |
String |
getSubpath(String path,
double from,
double to) |
double |
getTotalLength(String path) |
Array<IntersectionDot> |
intersection(String path1,
String path2) |
Boolean |
isBBoxIntersect(BBox bbox1,
BBox bbox2) |
Boolean |
isPointInside(String path,
double x,
double y) |
Boolean |
isPointInsideBBox(BBox bbox,
double x,
double y) |
String |
map(String path,
Matrix matrix) |
String |
map(String path,
Objs matrix) |
Array<Object> |
toAbsolute(String path) |
Array<Object> |
toCubic(Array<String> pathString) |
Array<Object> |
toCubic(String pathString) |
Array<Object> |
toRelative(String path) |
$as, $cast, $delete, $get, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOf
protected Path(Objs.Constructor<?> c, Object js)
public BBox bezierBBox(double... args)
public Objs findDotsAtSegment(double p1x, double p1y, double c1x, double c1y, double c2x, double c2y, double p2x, double p2y, double t)
public double getTotalLength(String path)
public Array<IntersectionDot> intersection(String path1, String path2)
Copyright © 2018. All rights reserved.