public class Trace extends Object
| 构造器和说明 |
|---|
Trace()
Create a empty stroke
|
Trace(List<TracePoint> points)
Create a stroke
|
Trace(List<TracePoint> points,
String id)
Create a stroke
|
Trace(String id)
Create a empty stroke
|
| 限定符和类型 | 方法和说明 |
|---|---|
BoundBox |
getBoundBox() |
TracePoint |
getEnd() |
String |
getId() |
List<TracePoint> |
getPoints() |
TracePoint |
getStart() |
void |
invalidBoundBox()
Clear cached bounding box
|
String |
toString() |
public Trace()
public Trace(List<TracePoint> points)
points - underlying pointspublic Trace(String id)
id - IDpublic Trace(List<TracePoint> points, String id)
points - underlying pointsid - IDpublic List<TracePoint> getPoints()
public TracePoint getStart()
public TracePoint getEnd()
public String getId()
public BoundBox getBoundBox()
public void invalidBoundBox()
Copyright © 2019. All rights reserved.