@Deprecated public class OsmPath extends Path
Path
points every draw cycle, you can use an OsmPath and call
onDrawCycle(Projection)
at the start of your draw call. This will simply shift the Path
the proper amount so that it is in the correct pixel position.Path.Direction, Path.FillType, Path.Op
Modifier and Type | Field and Description |
---|---|
protected Point |
mReferencePoint
Deprecated.
|
Constructor and Description |
---|
OsmPath()
Deprecated.
|
OsmPath(Path src)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
onDrawCycle(Projection proj)
Deprecated.
Call this method at the beginning of every draw() call.
|
addArc, addArc, addCircle, addOval, addOval, addPath, addPath, addPath, addRect, addRect, addRoundRect, addRoundRect, addRoundRect, addRoundRect, approximate, arcTo, arcTo, arcTo, close, computeBounds, cubicTo, finalize, getFillType, incReserve, isConvex, isEmpty, isInverseFillType, isRect, lineTo, moveTo, offset, offset, op, op, quadTo, rCubicTo, reset, rewind, rLineTo, rMoveTo, rQuadTo, set, setFillType, setLastPoint, toggleInverseFillType, transform, transform
protected final Point mReferencePoint
public OsmPath()
public OsmPath(Path src)
public void onDrawCycle(Projection proj)