- Inherits from:
- NSObject
- Package:
- com.apple.yellow.application
Description forthcoming.
The following constants are defined as a convenience by NSGraphics:
Constant | Type | Description |
Black |
float | 0 |
CalibratedBlackColorSpace |
String | NSCalibratedBlackColorSpace |
CalibratedRGBColorSpace |
String | NSCalibratedRGBColorSpace |
CalibratedWhiteColorSpace |
String | NSCalibratedWhiteColorSpace |
CustomColorSpace |
String | NSCustomColorSpace |
DarkGray |
float | 0.6666667 |
DeviceBitsPerSample |
String | NSDeviceBitsPerSample |
DeviceBlackColorSpace |
String | NSDeviceBlackColorSpace |
DeviceCMYKColorSpace |
String | NSDeviceCMYKColorSpace |
DeviceColorSpaceName |
String | NSDeviceColorSpaceName |
DeviceIsPrinter |
String | NSDeviceIsPrinter |
DeviceIsScreen |
String | NSDeviceIsScreen |
DeviceRGBColorSpace |
String | NSDeviceRGBColorSpace |
DeviceResolution |
String | NSDeviceResolution |
DeviceSize |
String | NSDeviceSize |
DeviceWhiteColorSpace |
String | NSDeviceWhiteColorSpace |
DynamicSystemColorSpace |
String | NSDynamicSystemColorSpace |
LightGray |
float | 0.3333333 |
NamedColorSpace |
String | NSNamedColorSpace |
White |
float | 1 |
- Constructors
- NSGraphics
- TBD Method Group Name
- availableWindowDepths
- bestDepth
- bitsPerPixelFromDepth
- bitsPerSampleFromDepth
- clipRectList
- clipRectListInRange
- colorSpaceFromDepth
- convertGlobalToWindowNumber
- convertWindowNumberToGlobal
- copyBitmapFromGState
- copyBits
- dottedFrameRect
- drawAttributedString
- drawBitmap
- drawButton
- drawColorTiledRects
- drawDarkBezel
- drawGrayBezel
- drawGroove
- drawLightBezel
- drawWhiteBezel
- eraseRect
- fillRectList
- fillRectListInRange
- fillRectListWithColors
- fillRectListWithColorsInRange
- frameRect
- frameRectWithWidth
- highlightRect
- numberOfColorComponents
- planarFromDepth
- readPixel
- sizeOfAttributedString
- windowCount
- windowList
public NSGraphics()
public static int[] availableWindowDepths()
public static int bestDepth(
String aString,
int anInt,
int anInt,
boolean flag)
public static int bitsPerPixelFromDepth(int depth)
public static int bitsPerSampleFromDepth(int depth)
public static void clipRectList(NSRect[] rectangles)
public static void clipRectListInRange(
NSRect[] rectangles,
NSRange aRange)
public static String colorSpaceFromDepth(int depth)
public static int convertGlobalToWindowNumber(int anInt)
public static int convertWindowNumberToGlobal(int anInt)
public static void copyBitmapFromGState(
int anInt,
NSRect aRect,
NSRect aRect)
public static void copyBits(
int anInt,
NSRect aRect,
NSPoint aPoint)
public static void dottedFrameRect(NSRect aRect)
public static void drawAttributedString(
NSAttributedString attributedString,
NSPoint aPoint)
public static void drawAttributedString(
NSAttributedString attributedString,
NSRect aRect)
public static void drawBitmap(
NSRect aRect,
int anInt,
int anInt,
int anInt,
int anInt,
int anInt,
int anInt,
boolean boolean,
boolean boolean,
String aString,
byte[] bytes)
public static void drawButton(
NSRect aRect,
NSRect aRect)
public static void drawColorTiledRects(
NSRect aRect,
NSRect aRect,
int[] ints,
NSColor[] colors,
NSRange aRange)
public static void drawDarkBezel(
NSRect aRect,
NSRect aRect)
public static void drawGrayBezel(
NSRect aRect,
NSRect aRect)
public static void drawGroove(
NSRect aRect,
NSRect aRect)
public static void drawLightBezel(
NSRect aRect,
NSRect aRect)
public static void drawDarkBezel(
NSRect aRect,
NSRect aRect)
public static void eraseRect(NSRect aRect)
public static void fillRectList(NSRect[] rectangles)
public static void fillRectListInRange(
NSRect[] rectangles,
NSRange aRange)
public static void fillRectListWithColors(
NSRect[] rectangles,
NSColor[] colors)
public static void fillRectListWithColors(
NSRect[] rectangles,
NSColor[] colors,
NSRange aRange)
public static void frameRect(NSRect aRect)
public static void frameRectWithWidth(
NSRect aRect,
float width)
public static void highlightRect(NSRect aRect)
public static int numberOfColorComponents(String aString)
public static boolean planarFromDepth(int anInt)
public static NSColor readPixel(NSPoint aPoint)
public static NSSize sizeOfAttributedString(NSAttributedString attributedString)
public static int windowCount()
public static void windowList(int[] integers)