Package oshi.jna.platform.mac
Interface CoreGraphics
-
- All Superinterfaces:
com.sun.jna.Library
public interface CoreGraphics extends com.sun.jna.Library
The Core Graphics framework is based on the Quartz advanced drawing engine. It provides low-level, lightweight 2D rendering with unmatched output fidelity. You use this framework to handle path-based drawing, transformations, color management, offscreen rendering, patterns, gradients and shadings, image data management, image creation, and image masking, as well as PDF document creation, display, and parsing.In macOS, Core Graphics also includes services for working with display hardware, low-level user input events, and the windowing system.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
CoreGraphics.CGPoint
A point with X and Y coordinatesstatic class
CoreGraphics.CGRect
A rectangle with origin and sizestatic class
CoreGraphics.CGSize
A size with width and height
-
Field Summary
Fields Modifier and Type Field Description static CoreGraphics
INSTANCE
static int
kCGNullWindowID
static int
kCGWindowListExcludeDesktopElements
static int
kCGWindowListOptionAll
static int
kCGWindowListOptionIncludingWindow
static int
kCGWindowListOptionOnScreenAboveWindow
static int
kCGWindowListOptionOnScreenBelowWindow
static int
kCGWindowListOptionOnScreenOnly
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
CGRectMakeWithDictionaryRepresentation(com.sun.jna.platform.mac.CoreFoundation.CFDictionaryRef dict, CoreGraphics.CGRect rect)
com.sun.jna.platform.mac.CoreFoundation.CFArrayRef
CGWindowListCopyWindowInfo(int option, int relativeToWindow)
-
-
-
Field Detail
-
INSTANCE
static final CoreGraphics INSTANCE
-
kCGNullWindowID
static final int kCGNullWindowID
- See Also:
- Constant Field Values
-
kCGWindowListOptionAll
static final int kCGWindowListOptionAll
- See Also:
- Constant Field Values
-
kCGWindowListOptionOnScreenOnly
static final int kCGWindowListOptionOnScreenOnly
- See Also:
- Constant Field Values
-
kCGWindowListOptionOnScreenAboveWindow
static final int kCGWindowListOptionOnScreenAboveWindow
- See Also:
- Constant Field Values
-
kCGWindowListOptionOnScreenBelowWindow
static final int kCGWindowListOptionOnScreenBelowWindow
- See Also:
- Constant Field Values
-
kCGWindowListOptionIncludingWindow
static final int kCGWindowListOptionIncludingWindow
- See Also:
- Constant Field Values
-
kCGWindowListExcludeDesktopElements
static final int kCGWindowListExcludeDesktopElements
- See Also:
- Constant Field Values
-
-
Method Detail
-
CGWindowListCopyWindowInfo
com.sun.jna.platform.mac.CoreFoundation.CFArrayRef CGWindowListCopyWindowInfo(int option, int relativeToWindow)
-
CGRectMakeWithDictionaryRepresentation
boolean CGRectMakeWithDictionaryRepresentation(com.sun.jna.platform.mac.CoreFoundation.CFDictionaryRef dict, CoreGraphics.CGRect rect)
-
-