Package oshi.jna.platform.mac
Class CoreGraphics.CGRect
- java.lang.Object
-
- com.sun.jna.Structure
-
- oshi.jna.platform.mac.CoreGraphics.CGRect
-
- All Implemented Interfaces:
java.lang.AutoCloseable
- Enclosing interface:
- CoreGraphics
@FieldOrder({"origin","size"}) public static class CoreGraphics.CGRect extends com.sun.jna.Structure implements java.lang.AutoCloseable
A rectangle with origin and size
-
-
Field Summary
Fields Modifier and Type Field Description CoreGraphics.CGPoint
origin
CoreGraphics.CGSize
size
-
Constructor Summary
Constructors Constructor Description CGRect()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
-
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
-
-
-
-
Field Detail
-
origin
public CoreGraphics.CGPoint origin
-
size
public CoreGraphics.CGSize size
-
-