- 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
Modifier and TypeInterfaceDescriptionstatic class
A point with X and Y coordinatesstatic class
A rectangle with origin and sizestatic class
A size with width and heightNested classes/interfaces inherited from interface com.sun.jna.Library
com.sun.jna.Library.Handler
-
Field Summary
Modifier and TypeFieldDescriptionstatic final CoreGraphics
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from interface com.sun.jna.Library
OPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_CLASSLOADER, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_OPEN_FLAGS, OPTION_STRING_ENCODING, OPTION_STRUCTURE_ALIGNMENT, OPTION_SYMBOL_PROVIDER, OPTION_TYPE_MAPPER
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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 Details
-
INSTANCE
-
kCGNullWindowID
static final int kCGNullWindowID- See Also:
-
kCGWindowListOptionAll
static final int kCGWindowListOptionAll- See Also:
-
kCGWindowListOptionOnScreenOnly
static final int kCGWindowListOptionOnScreenOnly- See Also:
-
kCGWindowListOptionOnScreenAboveWindow
static final int kCGWindowListOptionOnScreenAboveWindow- See Also:
-
kCGWindowListOptionOnScreenBelowWindow
static final int kCGWindowListOptionOnScreenBelowWindow- See Also:
-
kCGWindowListOptionIncludingWindow
static final int kCGWindowListOptionIncludingWindow- See Also:
-
kCGWindowListExcludeDesktopElements
static final int kCGWindowListExcludeDesktopElements- See Also:
-
-
Method Details
-
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)
-