|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISVGElement
| Method Summary | |
|---|---|
ISVGDocument |
getCanvas()
|
IContainer |
getContainer()
|
java.lang.String |
getFillColour()
|
float |
getFillOpacity()
|
float |
getHeight()
Returns elements with based on BBox.height |
java.lang.String |
getId()
|
java.lang.String |
getStrokeColour()
|
java.lang.String |
getStrokeDashArray()
|
float |
getWidth()
Returns elements with based on BBox.width |
float |
getX()
|
float |
getY()
|
boolean |
isVisible()
|
void |
remove()
|
void |
rotate(float degree,
boolean isAbsolute)
Rotates the element by the given degree from its center point. |
void |
rotate(float degree,
int cx,
int cy)
Rotates the element by the given degree from its center point. |
void |
scale(float xTimes,
float yTimes)
Resizes the element by the given multiplier. |
void |
scale(float xTimes,
float yTimes,
float centerX,
float centerY)
Resizes the element by the given multiplier. |
void |
setCanvas(ISVGDocument canvas)
|
void |
setContainer(IContainer container)
|
void |
setFillColour(java.lang.String colour)
|
void |
setFillOpacity(float fillOpacity)
|
void |
setHeight(float height)
|
void |
setId(java.lang.String id)
|
void |
setStokeColour(java.lang.String colour)
|
void |
setStrokeDashArray(java.lang.String strokeDash)
|
void |
setVisible(boolean visible)
|
void |
setWidth(float width)
|
void |
setX(float x)
|
void |
setY(float y)
|
void |
toBack()
|
void |
toFront()
|
void |
translate(float dx,
float dy)
Moves the element around the canvas by the given distances. |
| Method Detail |
|---|
void setId(java.lang.String id)
java.lang.String getId()
IContainer getContainer()
void setContainer(IContainer container)
float getY()
float getX()
void setX(float x)
void setY(float y)
boolean isVisible()
void setCanvas(ISVGDocument canvas)
ISVGDocument getCanvas()
void setVisible(boolean visible)
void rotate(float degree,
boolean isAbsolute)
int - degree Degree of rotation (0 – 360°)boolean - isAbsolute [optional] Specifies is degree is relative to
void rotate(float degree,
int cx,
int cy)
int - degree Degree of rotation (0 – 360°)int - cx [optional] X coordinate of the origin of rotationint - cy [optional] Y coordinate of the origin of rotation
void translate(float dx,
float dy)
int - dx Pixels of translation by X axisint - dy Pixels of translation by Y axis
void scale(float xTimes,
float yTimes)
float - xTimesfloat - yTimes
void scale(float xTimes,
float yTimes,
float centerX,
float centerY)
float - xTimesfloat - yTimesfloat - centerXfloat - centerYvoid toFront()
void toBack()
void remove()
void setStokeColour(java.lang.String colour)
java.lang.String getStrokeColour()
void setFillOpacity(float fillOpacity)
float getFillOpacity()
void setStrokeDashArray(java.lang.String strokeDash)
java.lang.String getStrokeDashArray()
void setFillColour(java.lang.String colour)
java.lang.String getFillColour()
float getWidth()
float getHeight()
void setWidth(float width)
void setHeight(float height)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||