Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSGraphicsMBS class.
NSGraphicsMBS.NSCompositeClear=0
Type | Topic | Plugin | Version |
const | Cocoa Drawing | MBS MacCocoa Plugin | 7.7 |
NSGraphicsMBS.NSCompositeCopy=1
Type | Topic | Plugin | Version |
const | Cocoa Drawing | MBS MacCocoa Plugin | 7.7 |
NSGraphicsMBS.NSCompositeDestinationAtop=9
Type | Topic | Plugin | Version |
const | Cocoa Drawing | MBS MacCocoa Plugin | 7.7 |
NSGraphicsMBS.NSCompositeDestinationIn=7
Type | Topic | Plugin | Version |
const | Cocoa Drawing | MBS MacCocoa Plugin | 7.7 |
NSGraphicsMBS.NSCompositeDestinationOut=8
Type | Topic | Plugin | Version |
const | Cocoa Drawing | MBS MacCocoa Plugin | 7.7 |
NSGraphicsMBS.NSCompositeDestinationOver=6
Type | Topic | Plugin | Version |
const | Cocoa Drawing | MBS MacCocoa Plugin | 7.7 |
NSGraphicsMBS.NSCompositeHighlight=12
Type | Topic | Plugin | Version |
const | Cocoa Drawing | MBS MacCocoa Plugin | 7.7 |
NSGraphicsMBS.NSCompositePlusDarker=11
Type | Topic | Plugin | Version |
const | Cocoa Drawing | MBS MacCocoa Plugin | 7.7 |
NSGraphicsMBS.NSCompositePlusLighter=13
Type | Topic | Plugin | Version |
const | Cocoa Drawing | MBS MacCocoa Plugin | 7.7 |
NSGraphicsMBS.NSCompositeSourceAtop=5
Type | Topic | Plugin | Version |
const | Cocoa Drawing | MBS MacCocoa Plugin | 7.7 |
NSGraphicsMBS.NSCompositeSourceIn=3
Type | Topic | Plugin | Version |
const | Cocoa Drawing | MBS MacCocoa Plugin | 7.7 |
NSGraphicsMBS.NSCompositeSourceOut=4
Type | Topic | Plugin | Version |
const | Cocoa Drawing | MBS MacCocoa Plugin | 7.7 |
NSGraphicsMBS.NSCompositeSourceOver=2
Type | Topic | Plugin | Version |
const | Cocoa Drawing | MBS MacCocoa Plugin | 7.7 |
NSGraphicsMBS.NSCompositeXOR=10
Type | Topic | Plugin | Version |
const | Cocoa Drawing | MBS MacCocoa Plugin | 7.7 |
Works only with black and white images and is not recommended for color contexts.
NSGraphicsMBS.NSImageInterpolationDefault=0
Type | Topic | Plugin | Version |
const | Cocoa Drawing | MBS MacCocoa Plugin | 10.3 |
Use the context's default interpolation.
NSGraphicsMBS.NSImageInterpolationHigh=3
Type | Topic | Plugin | Version |
const | Cocoa Drawing | MBS MacCocoa Plugin | 10.3 |
Slower, higher-quality interpolation.
NSGraphicsMBS.NSImageInterpolationLow=2
Type | Topic | Plugin | Version |
const | Cocoa Drawing | MBS MacCocoa Plugin | 10.3 |
Fast, low-quality interpolation.
NSGraphicsMBS.NSImageInterpolationMedium=4
Type | Topic | Plugin | Version |
const | Cocoa Drawing | MBS MacCocoa Plugin | 10.3 |
Medium quality, slower than NSImageInterpolationLow.
Available in Mac OS X v10.6 and later.
NSGraphicsMBS.NSImageInterpolationNone=1
Type | Topic | Plugin | Version |
const | Cocoa Drawing | MBS MacCocoa Plugin | 10.3 |
No interpolation.
NSGraphicsMBS.NSStringDrawingDisableScreenFontSubstitution = 4
Type | Topic | Plugin | Version |
const | Cocoa Drawing | MBS MacCocoa Plugin | 11.3 |
Disable screen font substitution (equivalent to NSLayoutManager.setUsesScreenFonts(false)).
NSGraphicsMBS.NSStringDrawingOneShot = 16
Type | Topic | Plugin | Version |
const | Cocoa Drawing | MBS MacCocoa Plugin | 11.3 |
Suppresses caching layout information.
NSGraphicsMBS.NSStringDrawingTruncatesLastVisibleLine = 32
Type | Topic | Plugin | Version |
const | Cocoa Drawing | MBS MacCocoa Plugin | 11.3 |
Truncates and adds the ellipsis character to the last visible line if the text doesn't fit into the bounds specified.
This option is ignored if NSStringDrawingUsesLineFragmentOrigin is not also set. In addition, the line break mode must be either NSLineBreakByWordWrapping or NSLineBreakByCharWrapping for this option to take effect. The line break mode can be specified in a paragraph style passed in the attributes dictionary argument of the drawing methods.
Available in Mac OS X v10.5 and later.
NSGraphicsMBS.NSStringDrawingUsesDeviceMetrics = 8
Type | Topic | Plugin | Version |
const | Cocoa Drawing | MBS MacCocoa Plugin | 11.3 |
Uses image glyph bounds instead of typographic bounds.
NSGraphicsMBS.NSStringDrawingUsesFontLeading = 2
Type | Topic | Plugin | Version |
const | Cocoa Drawing | MBS MacCocoa Plugin | 11.3 |
Uses the font leading for calculating line heights.
NSGraphicsMBS.NSStringDrawingUsesLineFragmentOrigin = 1
Type | Topic | Plugin | Version |
const | Cocoa Drawing | MBS MacCocoa Plugin | 11.3 |
The specified origin is the line fragment origin, not the baseline origin.
The items on this page are in the following plugins: MBS MacCocoa Plugin.