graphicframe-ag凯发旗舰厅



com.spire.presentation.drawing
class graphicframe

java.lang.object
  extended by com.spire.presentation.drawing.graphicframe

public class graphicframe
extends java.lang.object

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

graphicframe

public graphicframe(float left,
                    float top,
                    float width,
                    float height,
                    boolean fliph,
                    boolean flipv,
                    float rotationangle)
creates new shape frame's properties.
parameters:
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.

graphicframe

public graphicframe(double x,
                    double y,
                    double width,
                    double height,
                    boolean isflipx,
                    boolean isflipy,
                    float rotationangle)
creates new shape frame's properties.
parameters:
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.

graphicframe

public graphicframe()
method detail

getleft

public float getleft()
gets the x coordinate of the upper-left corner of a frame. read-only .
returns:

gettop

public float gettop()
gets the y coordinate of the upper-left corner of a frame. read-only .
returns:

getwidth

public float getwidth()
gets the width of a frame. read-only .
returns:

setwidth

public void setwidth(float value)

getheight

public float getheight()
gets the height of a frame. read-only .
returns:

getrotation

public float getrotation()
gets the number of degrees a frame is rotated around the z-axis. read-only .
returns:

setrotation

public void setrotation(float value)

getcenterx

public float getcenterx()
gets the x coordinate of a frame's center. read-only .
returns:

getcentery

public float getcentery()
gets the y coordinate of a frame's center. read-only .
returns:

isflipx

public boolean isflipx()
indicates whether a frame is flipped horizontally. read-only .
returns:

isflipx

public void isflipx(boolean value)

isflipy

public boolean isflipy()
indicates whether a frame is flipped vertically. read-only .
returns:

isflipy

public void isflipy(boolean value)

getrectangle

public java.awt.geom.rectangle2d getrectangle()
gets the coordinates of a frame. read-only .
returns:

equals

public boolean equals(java.lang.object obj)
overrides:
equals in class java.lang.object

equals

public boolean equals(graphicframe value)

hashcode

public int hashcode()
gets a hash code for this object.
overrides:
hashcode in class java.lang.object
returns:


网站地图