类 Rectangle

java.lang.Object
com.grapecity.documents.excel.Rectangle

public class Rectangle extends Object
Represents a rectangle class.
  • 构造器概要

    构造器
    构造器
    说明
    Rectangle(double x, double y, double width, double height)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    final double
    Returns the height of this rectangle.
    final double
    Returns the width of this rectangle.
    final double
    Returns the x-coordinate of the upper-left corner of this rectangle.
    final double
    Returns the y-coordinate of the upper-left corner of this rectangle.
    final void
    setHeight(double value)
    Sets the height of this rectangle.
    final void
    setWidth(double value)
    Sets the width of this rectangle.
    final void
    setX(double value)
    Sets the x-coordinate of the upper-left corner of this rectangle.
    final void
    setY(double value)
    Sets the y-coordinate of the upper-left corner of this rectangle.

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • Rectangle

      public Rectangle(double x, double y, double width, double height)
  • 方法详细资料

    • getX

      public final double getX()
      Returns the x-coordinate of the upper-left corner of this rectangle.
    • setX

      public final void setX(double value)
      Sets the x-coordinate of the upper-left corner of this rectangle.
    • getY

      public final double getY()
      Returns the y-coordinate of the upper-left corner of this rectangle.
    • setY

      public final void setY(double value)
      Sets the y-coordinate of the upper-left corner of this rectangle.
    • getWidth

      public final double getWidth()
      Returns the width of this rectangle.
    • setWidth

      public final void setWidth(double value)
      Sets the width of this rectangle.
    • getHeight

      public final double getHeight()
      Returns the height of this rectangle.
    • setHeight

      public final void setHeight(double value)
      Sets the height of this rectangle.