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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandler
int
height of the rectangle.int
width of the rectangle.int
X coordinate of the left side of the rectangle.int
Y coordinate of the the top side of the rectangle.void
setFieldHeight
(int height) height of the rectangle.void
setFieldWidth
(int width) width of the rectangle.void
setFieldX
(int x) X coordinate of the left side of the rectangle.void
setFieldY
(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, unregisterCallbacks
Methods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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.
-