|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.presentation.drawing.graphicframe
public class graphicframe
represents shape frame's properties.
constructor summary | |
---|---|
graphicframe()
|
|
graphicframe(double x,
double y,
double width,
double height,
boolean isflipx,
boolean isflipy,
float rotationangle)
creates new shape frame's properties. |
|
graphicframe(float left,
float top,
float width,
float height,
boolean fliph,
boolean flipv,
float rotationangle)
creates new shape frame's properties. |
method summary | |
---|---|
boolean |
equals(graphicframe value)
|
boolean |
equals(java.lang.object obj)
|
float |
getcenterx()
gets the x coordinate of a frame's center. |
float |
getcentery()
gets the y coordinate of a frame's center. |
float |
getheight()
gets the height of a frame. |
float |
getleft()
gets the x coordinate of the upper-left corner of a frame. |
java.awt.geom.rectangle2d |
getrectangle()
gets the coordinates of a frame. |
float |
getrotation()
gets the number of degrees a frame is rotated around the z-axis. |
float |
gettop()
gets the y coordinate of the upper-left corner of a frame. |
float |
getwidth()
gets the width of a frame. |
int |
hashcode()
gets a hash code for this object. |
boolean |
isflipx()
indicates whether a frame is flipped horizontally. |
void |
isflipx(boolean value)
|
boolean |
isflipy()
indicates whether a frame is flipped vertically. |
void |
isflipy(boolean value)
|
void |
setrotation(float value)
|
void |
setwidth(float value)
|
constructor detail |
---|
public graphicframe(float left, float top, float width, float height, boolean fliph, boolean flipv, float rotationangle)
left
- top
- width
- width of a frame.height
- height of a frame.fliph
- true if a frame flipped horizontally.flipv
- true if a frame flipped vertivally.rotationangle
- number of degrees a frame is rotated.public graphicframe(double x, double y, double width, double height, boolean isflipx, boolean isflipy, float rotationangle)
x
- x coordinate of a frame.y
- y coordinate of a frame.width
- width of a frame.height
- height of a frame.isflipx
- true if a frame flipped horizontally.isflipy
- true if a frame flipped vertivally.rotationangle
- number of degrees a frame is rotated.public graphicframe()
method detail |
---|
public float getleft()
public float gettop()
public float getwidth()
public void setwidth(float value)
public float getheight()
public float getrotation()
public void setrotation(float value)
public float getcenterx()
public float getcentery()
public boolean isflipx()
public void isflipx(boolean value)
public boolean isflipy()
public void isflipy(boolean value)
public java.awt.geom.rectangle2d getrectangle()
public boolean equals(java.lang.object obj)
equals
in class java.lang.object
public boolean equals(graphicframe value)
public int hashcode()
hashcode
in class java.lang.object
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |