Package ch.bailu.gtk.pango
Class Rectangle
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.pango.Rectangle
- All Implemented Interfaces:
PointerInterface
The `PangoRectangle` structure represents a rectangle.
`PangoRectangle` is frequently used to represent the logical or ink
extents of a single glyph or section of text. (See, for instance,
[method@Pango.Font.get_glyph_extents].)
`PangoRectangle` is frequently used to represent the logical or ink
extents of a single glyph or section of text. (See, for instance,
[method@Pango.Font.get_glyph_extents].)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandlerintheight of the rectangle.intwidth of the rectangle.intX coordinate of the left side of the rectangle.intY coordinate of the the top side of the rectangle.voidsetFieldHeight(int height) height of the rectangle.voidsetFieldWidth(int width) width of the rectangle.voidsetFieldX(int x) X coordinate of the left side of the rectangle.voidsetFieldY(int y) Y coordinate of the the top side of the rectangle.Methods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacksMethods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Field Details
-
X
X coordinate of the left side of the rectangle.- See Also:
-
Y
Y coordinate of the the top side of the rectangle.- See Also:
-
WIDTH
width of the rectangle.- See Also:
-
HEIGHT
height of the rectangle.- See Also:
-
-
Constructor Details
-
Rectangle
-
Rectangle
public Rectangle()
-
-
Method Details
-
getClassHandler
-
setFieldX
public void setFieldX(int x) X coordinate of the left side of the rectangle. -
getFieldX
public int getFieldX()X coordinate of the left side of the rectangle. -
setFieldY
public void setFieldY(int y) Y coordinate of the the top side of the rectangle. -
getFieldY
public int getFieldY()Y coordinate of the the top side of the rectangle. -
setFieldWidth
public void setFieldWidth(int width) width of the rectangle. -
getFieldWidth
public int getFieldWidth()width of the rectangle. -
setFieldHeight
public void setFieldHeight(int height) height of the rectangle. -
getFieldHeight
public int getFieldHeight()height of the rectangle.
-