Package | Description |
---|---|
com.sencha.gxt.chart.client.draw | |
com.sencha.gxt.chart.client.draw.path |
Modifier and Type | Method and Description |
---|---|
static Animator |
DrawFx.createCommandsAnimator(PathSprite origin,
List<PathCommand> commands)
|
Modifier and Type | Class and Description |
---|---|
class |
ClosePath
A
PathCommand that represents the end of the current subpath. |
class |
CurveTo
A
PathCommand that represents a cubic Bézier segment. |
class |
CurveToQuadratic
A
PathCommand that represents a quadratic Bézier segment. |
class |
CurveToQuadraticSmooth
A
PathCommand that represents a shorthand quadratic Bézier segment. |
class |
CurveToSmooth
A
PathCommand that represents a shorthand cubic Bézier segment. |
class |
EllipticalArc
A
PathCommand that represents a segment of an ellipse. |
class |
EndPointCommand
Abstract class representing a
PathCommand with an endpoint. |
class |
LineTo
A
PathCommand that represents a line. |
class |
LineToHorizontal
A
PathCommand that represents a horizontal line. |
class |
LineToVertical
A
PathCommand that represents a vertical line. |
class |
MoveTo
A
PathCommand that represents a moving of the current point. |
Modifier and Type | Method and Description |
---|---|
abstract PathCommand |
PathCommand.copy()
Returns a copy of the path command.
|
PathCommand |
PathSprite.getCommand(int index)
Returns the
PathCommand at the given index. |
Modifier and Type | Method and Description |
---|---|
static List<PathCommand> |
PathSprite.copyCommands(List<PathCommand> commands)
Returns a new list of
PathCommand s by making copies of the given
commands. |
List<PathCommand> |
PathSprite.getCommands()
Returns a
List of all the PathCommand s in the sprite. |
abstract List<PathCommand> |
PathCommand.toCurve(PrecisePoint currentPoint,
PrecisePoint movePoint,
PrecisePoint curvePoint,
PrecisePoint quadraticPoint)
Converts the
PathCommand to a CurveTo command. |
List<PathCommand> |
MoveTo.toCurve(PrecisePoint currentPoint,
PrecisePoint movePoint,
PrecisePoint curvePoint,
PrecisePoint quadraticPoint) |
List<PathCommand> |
LineToVertical.toCurve(PrecisePoint currentPoint,
PrecisePoint movePoint,
PrecisePoint curvePoint,
PrecisePoint quadraticPoint) |
List<PathCommand> |
LineToHorizontal.toCurve(PrecisePoint currentPoint,
PrecisePoint movePoint,
PrecisePoint curvePoint,
PrecisePoint quadraticPoint) |
List<PathCommand> |
LineTo.toCurve(PrecisePoint currentPoint,
PrecisePoint movePoint,
PrecisePoint curvePoint,
PrecisePoint quadraticPoint) |
List<PathCommand> |
EllipticalArc.toCurve(PrecisePoint currentPoint,
PrecisePoint movePoint,
PrecisePoint curvePoint,
PrecisePoint quadraticPoint) |
List<PathCommand> |
CurveToSmooth.toCurve(PrecisePoint currentPoint,
PrecisePoint movePoint,
PrecisePoint curvePoint,
PrecisePoint quadraticPoint) |
List<PathCommand> |
CurveToQuadraticSmooth.toCurve(PrecisePoint currentPoint,
PrecisePoint movePoint,
PrecisePoint curvePoint,
PrecisePoint quadraticPoint) |
List<PathCommand> |
CurveToQuadratic.toCurve(PrecisePoint currentPoint,
PrecisePoint movePoint,
PrecisePoint curvePoint,
PrecisePoint quadraticPoint) |
List<PathCommand> |
CurveTo.toCurve(PrecisePoint currentPoint,
PrecisePoint movePoint,
PrecisePoint curvePoint,
PrecisePoint quadraticPoint) |
List<PathCommand> |
ClosePath.toCurve(PrecisePoint currentPoint,
PrecisePoint movePoint,
PrecisePoint curvePoint,
PrecisePoint quadraticPoint) |
Modifier and Type | Method and Description |
---|---|
void |
PathSprite.addCommand(int index,
PathCommand command)
Adds a
PathCommand to the path at the given index. |
void |
PathSprite.addCommand(PathCommand command)
Adds a
PathCommand to the path. |
abstract boolean |
PathCommand.nearEqual(PathCommand command)
Determines equality of two commands using rounded values.
|
boolean |
MoveTo.nearEqual(PathCommand command) |
boolean |
LineToVertical.nearEqual(PathCommand command) |
boolean |
LineToHorizontal.nearEqual(PathCommand command) |
boolean |
LineTo.nearEqual(PathCommand command) |
boolean |
EllipticalArc.nearEqual(PathCommand command) |
boolean |
CurveToSmooth.nearEqual(PathCommand command) |
boolean |
CurveToQuadraticSmooth.nearEqual(PathCommand command) |
boolean |
CurveToQuadratic.nearEqual(PathCommand command) |
boolean |
CurveTo.nearEqual(PathCommand command) |
boolean |
ClosePath.nearEqual(PathCommand command) |
void |
PathSprite.setCommand(int index,
PathCommand command)
Sets the
PathCommand of the path at given index. |
Modifier and Type | Method and Description |
---|---|
static List<PathCommand> |
PathSprite.copyCommands(List<PathCommand> commands)
Returns a new list of
PathCommand s by making copies of the given
commands. |
static List<PathSprite> |
PathSprite.findDelta(PathSprite origin,
List<PathCommand> commands)
Ensures
PathCommand parity between this path and the given path. |
void |
PathSprite.setCommands(List<PathCommand> commands)
Replace the path's
PathCommand s with the given List of
commands. |
Constructor and Description |
---|
PathCommand(PathCommand command)
Creates a copy of the given command.
|
Copyright © 2015. All rights reserved.