Platforms to show: All Mac Windows Linux Cross-Platform
Cocoa Drawing
Cocoa Framework classes for Graphics, Drawings and Images.
- Classes
- class NSBezierPathMBS
- method appendBezierPath(path as NSBezierPathMBS)
- method appendBezierPathWithArc(center as NSPointMBS, radius as Double, startAngle as Double, endAngle as Double)
- method appendBezierPathWithArc(center as NSPointMBS, radius as Double, startAngle as Double, endAngle as Double, clockwise as boolean)
- method appendBezierPathWithArc(point1 as NSPointMBS, point2 as NSPointMBS, radius as Double)
- method appendBezierPathWithGlyph(glyph as Integer, font as NSFontMBS)
- method appendBezierPathWithGlyphs(glyphs() as Integer, font as NSFontMBS)
- method appendBezierPathWithOvalInRect(rect as NSRectMBS)
- method appendBezierPathWithPoints(points() as NSPointMBS)
- method appendBezierPathWithRect(rect as NSRectMBS)
- method appendBezierPathWithRoundedRect(rect as NSRectMBS, xRadius as Double, yRadius as Double)
- shared method bezierPath as NSBezierPathMBS
- method bezierPathByFlatteningPath as NSBezierPathMBS
- method bezierPathByReversingPath as NSBezierPathMBS
- shared method bezierPathWithOvalInRect(r as NSRectMBS) as NSBezierPathMBS
- shared method bezierPathWithRect(r as NSRectMBS) as NSBezierPathMBS
- shared method bezierPathWithRoundedRect(r as NSRectMBS, xRadius as Double, yRadius as Double) as NSBezierPathMBS
- method closePath
- method Constructor
- method containsPoint(p as NSPointMBS) as boolean
- method copy as NSBezierPathMBS
- method curveToPoint(endPoint as NSPointMBS, controlPoint1 as NSPointMBS, controlPoint2 as NSPointMBS)
- method elementAtIndex(index as Integer) as Integer
- method elementAtIndex(index as Integer, byref associatedPoints() as NSPointMBS) as Integer
- method elementCount as Integer
- method getLineDash(byref pattern() as Double, byref count as Integer, byref phase as Double)
- method isEmpty as boolean
- method lineToPoint(p as NSPointMBS)
- method moveToPoint(p as NSPointMBS)
- method relativeCurveToPoint(endPoint as NSPointMBS, controlPoint1 as NSPointMBS, controlPoint2 as NSPointMBS)
- method relativeLineToPoint(p as NSPointMBS)
- method relativeMoveToPoint(p as NSPointMBS)
- method removeAllPoints
- method setAssociatedPoints(points() as NSPointMBS, index as Integer)
- method setLineDash(pattern() as Double, phase as Double)
- method transformUsingAffineTransform(transform as Variant)
- property Bounds as NSRectMBS
- property ControlPointBounds as NSRectMBS
- property CurrentPoint as NSPointMBS
- shared property defaultFlatness as Double
- shared property defaultLineCapStyle as Integer
- shared property defaultLineJoinStyle as Integer
- shared property defaultLineWidth as Double
- shared property defaultMiterLimit as Double
- shared property defaultWindingRule as Integer
- property Handle as Integer
- property flatness as Double
- property lineCapStyle as Integer
- property lineJoinStyle as Integer
- property lineWidth as Double
- property miterLimit as Double
- property windingRule as Integer
- class NSBitmapImageRepMBS
- method bitmapImageRepByConvertingToColorSpace(colorSpace as NSColorSpaceMBS, renderingIntent as Integer) as NSBitmapImageRepMBS
- method bitmapImageRepByRetaggingWithColorSpace(newSpace as NSColorSpaceMBS) as NSBitmapImageRepMBS
- method BMPRepresentation(properties as dictionary = nil) as Memoryblock
- method canBeCompressedUsing(compression as Integer) as Boolean
- method Constructor(data as Memoryblock)
- method Constructor(pic as Picture)
- method Constructor(pixelsWide as Integer, pixelsHigh as Integer, bitsPerSample as Integer, samplesPerPixel as Integer, hasAlpha as boolean, colorSpaceName as string, bytesPerRow as Integer, bitsPerPixel as Integer)
- method GIFRepresentation(properties as dictionary = nil) as Memoryblock
- shared method imageRepWithCGImage(CGImage as Variant) as NSBitmapImageRepMBS
- shared method imageRepWithCGImageRef(CGImageHandle as Integer) as NSBitmapImageRepMBS
- shared method imageRepWithCIImage(CIImage as variant) as NSBitmapImageRepMBS
- shared method imageRepWithCIImageRef(CIImageHandle as Integer) as NSBitmapImageRepMBS
- shared method imageRepWithData(data as Memoryblock) as NSBitmapImageRepMBS
- method JPEGRepresentation(properties as dictionary = nil) as Memoryblock
- shared method NSImageColorSyncProfileData as string
- shared method NSImageCompressionFactor as string
- shared method NSImageCompressionMethod as string
- shared method NSImageCurrentFrame as string
- shared method NSImageCurrentFrameDuration as string
- shared method NSImageDitherTransparency as string
- shared method NSImageEXIFData as string
- shared method NSImageFallbackBackgroundColor as string
- shared method NSImageFrameCount as string
- shared method NSImageGamma as string
- shared method NSImageInterlaced as string
- shared method NSImageLoopCount as string
- shared method NSImageProgressive as string
- shared method NSImageRGBColorTable as string
- method PNGRepresentation(properties as dictionary = nil) as Memoryblock
- method TIFFRepresentation as Memoryblock
- method TIFFRepresentation(properties as dictionary = nil) as Memoryblock
- property bitmapData as Ptr
- property bitmapFormat as Integer
- property bitsPerPixel as Integer
- property bytesPerPlane as Integer
- property bytesPerRow as Integer
- property CGImage as Variant
- property colorSpace as NSColorSpaceMBS
- property isPlanar as Boolean
- property numberOfPlanes as Integer
- property samplesPerPixel as Integer
- property valueForProperty(key as string) as Variant
- class NSColorListMBS
- method colorWithKey(key as string) as NSColorMBS
- method Create(name as string) as boolean
- method Create(name as string, path as string) as boolean
- method insertColor(theColor as NSColorMBS, key as string, index as Integer)
- method isEditable as Boolean
- method Load(name as string) as boolean
- method name as string
- method removeColorWithKey(key as string)
- method removeFile
- method setColor(theColor as NSColorMBS, key as string)
- method writeToFile(path as string) as boolean
- class NSColorMBS
- shared method alternateSelectedControlColor as NSColorMBS
- shared method alternateSelectedControlTextColor as NSColorMBS
- shared method alternatingContentBackgroundColors as NSColorMBS()
- shared method blackColor as NSColorMBS
- method blendedColorWithFraction(alpha as Double, c as NSColorMBS) as NSColorMBS
- shared method blueColor as NSColorMBS
- shared method brownColor as NSColorMBS
- method CGColorHandle as Integer
- shared method clearColor as NSColorMBS
- shared method colorFromPasteboard as NSColorMBS
- shared method colorNamed(colorName as String) as NSColorMBS
- method colorSpace as NSColorSpaceMBS
- method colorUsingColorSpace(colorSpace as NSColorSpaceMBS) as NSColorMBS
- method colorUsingColorSpaceName(colorSpace as string) as NSColorMBS
- method colorUsingType(type as Integer) as NSColorMBS
- method colorWithAlphaComponent(alpha as Double) as NSColorMBS
- shared method colorWithCalibratedHSV(hue as Double, saturation as Double, brightness as Double, alpha as Double=1.0) as NSColorMBS
- shared method colorWithCalibratedRGB(red as Double, green as Double, blue as Double, alpha as Double=1.0) as NSColorMBS
- shared method colorWithCalibratedWhite(white as Double, alpha as Double=1.0) as NSColorMBS
- shared method colorWithCatalogName(listName as String, colorName as String) as NSColorMBS
- shared method colorWithCGColor(CGColorHandle as Integer) as NSColorMBS
- shared method colorWithColorSpace(ColorSpace as NSColorSpaceMBS, components() as Double) as NSColorMBS
- shared method colorWithColorSpace(ColorSpace as NSColorSpaceMBS, paramarray components as Double) as NSColorMBS
- shared method colorWithColorSpaceHSV(ColorSpace as NSColorSpaceMBS, hue as Double, saturation as Double, brightness as Double, alpha as Double=1.0) as NSColorMBS
- shared method colorWithDeviceCMYK(cyan as Double, magenta as Double, yellow as Double, black as Double, alpha as Double=1.0) as NSColorMBS
- shared method colorWithDeviceHSV(hue as Double, saturation as Double, brightness as Double, alpha as Double=1.0) as NSColorMBS
- shared method colorWithDeviceRGB(red as Double, green as Double, blue as Double, alpha as Double=1.0) as NSColorMBS
- shared method colorWithDeviceWhite(white as Double, alpha as Double=1.0) as NSColorMBS
- shared method colorWithDisplayP3(red as Double, green as Double, blue as Double, alpha as Double=1.0) as NSColorMBS
- shared method colorWithGenericGamma22White(white as Double, alpha as Double=1.0) as NSColorMBS
- shared method colorWithHSV(hue as double, saturation as double, brightness as double, alpha as double=1.0) as NSColorMBS
- shared method colorWithPatternImage(image as Variant) as NSColorMBS
- shared method colorWithRGB(red as double, green as double, blue as double, alpha as double=1.0) as NSColorMBS
- shared method colorWithSRGB(red as Double, green as Double, blue as Double, alpha as Double=1.0) as NSColorMBS
- method colorWithSystemEffect(systemEffect as Integer) as NSColorMBS
- shared method colorWithWhite(white as double, alpha as double=1.0) as NSColorMBS
- method Components as Double()
- method Constructor(c as color)
- method Constructor(red as Double, green as Double, blue as Double, alpha as Double = 1.0)
- shared method controlAccentColor as NSColorMBS
- shared method controlAlternatingRowBackgroundColors as NSColorMBS()
- shared method controlBackgroundColor as NSColorMBS
- shared method controlColor as NSColorMBS
- shared method controlDarkShadowColor as NSColorMBS
- shared method controlHighlightColor as NSColorMBS
- shared method controlLightHighlightColor as NSColorMBS
- shared method controlShadowColor as NSColorMBS
- shared method controlTextColor as NSColorMBS
- shared method currentControlTint as Integer
- shared method cyanColor as NSColorMBS
- shared method darkGrayColor as NSColorMBS
- shared method disabledControlTextColor as NSColorMBS
- shared method findHighlightColor as NSColorMBS
- method getCMYK(byref cyan as Double, byref magenta as Double, byref yellow as Double, byref black as Double)
- method getCMYK(byref cyan as Double, byref magenta as Double, byref yellow as Double, byref black as Double, byref alpha as Double)
- method getHSV(byref hue as Double, byref saturation as Double, byref brightness as Double)
- method getHSV(byref hue as Double, byref saturation as Double, byref brightness as Double, byref alpha as Double)
- method getRGB(byref red as Double, byref green as Double, byref blue as Double)
- method getRGB(byref red as Double, byref green as Double, byref blue as Double, byref alpha as Double)
- method getWhite(byref white as Double)
- method getWhite(byref white as Double, byref alpha as Double)
- shared method grayColor as NSColorMBS
- shared method greenColor as NSColorMBS
- shared method gridColor as NSColorMBS
- shared method headerColor as NSColorMBS
- shared method headerTextColor as NSColorMBS
- shared method highlightColor as NSColorMBS
- method highlightWithLevel(level as Double) as NSColorMBS
- shared method keyboardFocusIndicatorColor as NSColorMBS
- shared method knobColor as NSColorMBS
- shared method labelColor as NSColorMBS
- shared method lightGrayColor as NSColorMBS
- shared method linkColor as NSColorMBS
- shared method magentaColor as NSColorMBS
- shared method orangeColor as NSColorMBS
- method patternImage as Variant
- shared method placeholderTextColor as NSColorMBS
- shared method purpleColor as NSColorMBS
- shared method quaternaryLabelColor as NSColorMBS
- shared method redColor as NSColorMBS
- shared method scrollBarColor as NSColorMBS
- shared method scrubberTexturedBackgroundColor as NSColorMBS
- shared method secondaryLabelColor as NSColorMBS
- shared method secondarySelectedControlColor as NSColorMBS
- shared method selectedContentBackgroundColor as NSColorMBS
- shared method selectedControlColor as NSColorMBS
- shared method selectedControlTextColor as NSColorMBS
- shared method selectedKnobColor as NSColorMBS
- shared method selectedMenuItemColor as NSColorMBS
- shared method selectedMenuItemTextColor as NSColorMBS
- shared method selectedTextBackgroundColor as NSColorMBS
- shared method selectedTextColor as NSColorMBS
- shared method separatorColor as NSColorMBS
- shared method shadowColor as NSColorMBS
- method shadowWithLevel(level as Double) as NSColorMBS
- shared method systemBlueColor as NSColorMBS
- shared method systemBrownColor as NSColorMBS
- shared method systemGrayColor as NSColorMBS
- shared method systemGreenColor as NSColorMBS
- shared method systemIndigoColor as NSColorMBS
- shared method systemOrangeColor as NSColorMBS
- shared method systemPinkColor as NSColorMBS
- shared method systemPurpleColor as NSColorMBS
- shared method systemRedColor as NSColorMBS
- shared method systemTealColor as NSColorMBS
- shared method systemYellowColor as NSColorMBS
- shared method tertiaryLabelColor as NSColorMBS
- shared method textBackgroundColor as NSColorMBS
- shared method textColor as NSColorMBS
- shared method underPageBackgroundColor as NSColorMBS
- shared method unemphasizedSelectedContentBackgroundColor as NSColorMBS
- shared method unemphasizedSelectedTextBackgroundColor as NSColorMBS
- shared method unemphasizedSelectedTextColor as NSColorMBS
- shared method whiteColor as NSColorMBS
- shared method windowBackgroundColor as NSColorMBS
- shared method windowFrameColor as NSColorMBS
- shared method windowFrameTextColor as NSColorMBS
- method writeToPasteboard
- shared method yellowColor as NSColorMBS
- property alphaComponent as Double
- property blackComponent as Double
- property blueComponent as Double
- property brightnessComponent as Double
- property catalogNameComponent as string
- property colorNameComponent as string
- property colorSpaceName as string
- property colorValue as color
- property cyanComponent as Double
- property description as string
- property greenComponent as Double
- property Handle as Integer
- property hueComponent as Double
- property localizedCatalogNameComponent as string
- property localizedColorNameComponent as string
- property magentaComponent as Double
- property numberOfComponents as Integer
- property redComponent as Double
- property saturationComponent as Double
- property Type as Integer
- property whiteComponent as Double
- property yellowComponent as Double
- class NSColorPanelMBS
- method attachColorList(list as NSColorListMBS)
- method Constructor
- method detachColorList(list as NSColorListMBS)
- method GetColor(byref red as single, byref green as single, byref blue as single, byref alpha as single) as boolean
- shared method GetColorFromDrag as color
- shared method GetColorFromDrag(byref red as single, byref green as single, byref blue as single, byref alpha as single) as boolean
- shared method orderFrontColorPanel
- method SetColor(red as single, green as single, blue as single, alpha as single)
- method setColor(value as NSColorMBS)
- method setContinuous(value as boolean)
- method setMode(value as Integer)
- method SetPickerMode(value as Integer)
- method setShowsAlpha(value as boolean)
- shared method SharedColorPanelExists as boolean
- property accessoryView as NSViewMBS
- property alpha as Double
- property ColorValue as Color
- property getColor as NSColorMBS
- property getColorAsRGB as NSColorMBS
- property isContinuous as boolean
- property mode as Integer
- property showsAlpha as boolean
- event Changed
- event DidMove
- event GotFocus
- event Hidden
- event LostFocus
- event Shown
- event WillClose
- class NSColorSamplerMBS
- shared method Available as Boolean
- method Constructor
- method Show
- property Handle as Integer
- event Completed(selectedColor as NSColorMBS)
- class NSColorSpaceMBS
- shared method adobeRGB1998ColorSpace as NSColorSpaceMBS
- shared method availableColorSpacesWithModel(Model as Integer) as NSColorSpaceMBS()
- method CGColorSpaceHandle as Integer
- shared method colorSpaceForColorSpaceName(name as string) as NSColorSpaceMBS
- shared method ColorSpaceWithCGColorSpace(CGColorSpaceHandle as Integer) as NSColorSpaceMBS
- shared method ColorSpaceWithColorSyncProfile(ColorSyncProfileHandle as Integer) as NSColorSpaceMBS
- shared method ColorSpaceWithICCProfileData(File as FolderItem) as NSColorSpaceMBS
- shared method ColorSpaceWithICCProfileData(ICCProfileData as Memoryblock) as NSColorSpaceMBS
- method colorSyncProfileHandle as Integer
- method Constructor(ICCProfileData as Memoryblock)
- shared method deviceCMYKColorSpace as NSColorSpaceMBS
- shared method deviceGrayColorSpace as NSColorSpaceMBS
- shared method deviceRGBColorSpace as NSColorSpaceMBS
- shared method genericCMYKColorSpace as NSColorSpaceMBS
- shared method genericGamma22GrayColorSpace as NSColorSpaceMBS
- shared method genericGrayColorSpace as NSColorSpaceMBS
- shared method genericRGBColorSpace as NSColorSpaceMBS
- method ICCProfileData as Memoryblock
- method initWithCGColorSpace(CGColorSpaceHandle as Integer)
- method initWithColorSyncProfile(ColorSyncProfileHandle as Integer)
- shared method sRGBColorSpace as NSColorSpaceMBS
- property colorSpaceModel as Integer
- property colorSpaceName as string
- property description as string
- property File as FolderItem
- property Handle as Integer
- property localizedName as string
- property numberOfColorComponents as Integer
- class NSGraphicsMBS
- method addClip(path as NSBezierPathMBS)
- method boundingRectWithSize(text as NSAttributedStringMBS, size as NSSizeMBS, options as Integer = 0) as NSRectMBS
- method boundingRectWithSize(text as string, size as NSSizeMBS, options as Integer = 0, DicAttributes as dictionary = nil) as NSRectMBS
- method clipRect(r as NSRectMBS)
- method concat(transform as NSAffineTransformMBS)
- method ConcatTransform(NSAffineTransform as Variant)
- method Constructor
- method Constructor(targetImage as NSBitmapImageRepMBS)
- method Constructor(targetImage as NSImageMBS)
- method Constructor(targetView as NSViewMBS)
- method Constructor(targetWindow as DesktopWindow)
- method Constructor(targetWindow as NSWindowMBS)
- method Constructor(targetWindow as window)
- method drawAtPoint(image as NSImageMBS, x as Double, y as Double, sx as Double, sy as Double, sw as Double, sh as Double, Operation as Integer, fraction as Double)
- method drawAtPoint(text as NSAttributedStringMBS, point as NSPointMBS)
- method drawAtPoint(text as string, point as NSPointMBS, DicAttributes as dictionary = nil)
- method drawInRect(image as NSImageMBS, x as Double, y as Double, w as Double, h as Double, sx as Double, sy as Double, sw as Double, sh as Double, Operation as Integer, fraction as Double)
- method drawInRect(text as NSAttributedStringMBS, rect as NSRectMBS)
- method drawInRect(text as string, rect as NSRectMBS, DicAttributes as dictionary = nil)
- method drawPicture(image as Picture, x as Double, y as Double, w as Double, h as Double, sx as Double, sy as Double, sw as Double, sh as Double, Operation as Integer, fraction as Double)
- method drawRect(x as Double, y as Double, w as Double, h as Double)
- method DrawWindowBackground(x as Double, y as Double, w as Double, h as Double)
- method drawWithRect(text as NSAttributedStringMBS, rect as NSRectMBS, options as Integer)
- method eraseRect(x as Double, y as Double, w as Double, h as Double)
- method fill(path as NSBezierPathMBS)
- method fillRect(r as NSRectMBS)
- method fillRect(x as Double, y as Double, w as Double, h as Double)
- method fillRect(x as Double, y as Double, w as Double, h as Double, operation as Integer)
- method flushGraphics
- shared method graphicsContext as NSGraphicsMBS
- shared method graphicsContextWithCGContext(targetCGContext as Variant, initialFlippedState as boolean = false) as NSGraphicsMBS
- shared method graphicsContextWithCGContextHandle(targetCGContextRef as Integer, initialFlippedState as boolean = false) as NSGraphicsMBS
- shared method graphicsContextWithCGContextHandle(targetCGContextRef as Ptr, initialFlippedState as boolean = false) as NSGraphicsMBS
- shared method graphicsContextWithNSBitmapImageRep(targetImage as NSBitmapImageRepMBS) as NSGraphicsMBS
- shared method graphicsContextWithNSImage(targetImage as NSImageMBS) as NSGraphicsMBS
- shared method graphicsContextWithNSView(targetView as NSViewMBS) as NSGraphicsMBS
- shared method graphicsContextWithNSWindow(targetNSWindow as NSWindowMBS) as NSGraphicsMBS
- shared method graphicsContextWithWindow(targetWindow as DesktopWindow) as NSGraphicsMBS
- shared method graphicsContextWithWindow(targetWindow as window) as NSGraphicsMBS
- method graphicsPort as Variant
- method highlightRect(x as Double, y as Double, w as Double, h as Double)
- method invalidate
- method isDrawingToScreen as boolean
- method isFlipped as boolean
- method restoreGraphicsState
- method saveGraphicsState
- method ScaleCoordinates(x as Double, y as Double)
- method set(transform as NSAffineTransformMBS)
- method setClip(path as NSBezierPathMBS)
- method setColor(c as NSColorMBS)
- method SetColorBW(white as Double, alpha as Double = 1.0)
- method SetColorCMYK(cyan as Double, magenta as Double, yellow as Double, black as Double, alpha as Double = 1.0)
- method SetColorHSV(hue as Double, saturation as Double, brightness as Double, alpha as Double = 1.0)
- method SetColorRGB(red as Double, green as Double, blue as Double, alpha as Double = 1.0)
- method setCurrentContext
- method setFillColor(c as NSColorMBS)
- method setStrokeColor(c as NSColorMBS)
- method SetTransform(NSAffineTransform as Variant)
- method sizeWithAttributes(text as string, DicAttributes as dictionary = nil) as NSSizeMBS
- method stroke(path as NSBezierPathMBS)
- method strokeLine(point1 as NSPointMBS, point2 as NSPointMBS)
- method strokeLine(x1 as Double, y1 as Double, x2 as Double, y2 as Double)
- method strokeRect(r as NSRectMBS)
- method TranslateCoordinates(x as Double, y as Double)
- property Handle as Integer
- property Owner as Variant
- property Valid as Boolean
- property imageInterpolation as Integer
- property shouldAntialias as boolean
- class NSImageMBS
- method addRepresentation(img as NSImageRepMBS)
- method BMPRepresentation as Memoryblock
- method BMPRepresentationMT as Memoryblock
- method cancelIncrementalLoad
- shared method canInitWithPasteboard as boolean
- method Constructor
- method Constructor(data as Memoryblock)
- method Constructor(file as folderitem)
- method Constructor(image as Picture, mask as picture = nil)
- method Constructor(width as Double, height as Double)
- method CopyMask as picture
- method CopyPicture(CGColorSpace as Variant = nil, BackgroundColor as NSColorMBS = nil) as picture
- method CopyPictureRect(x as Integer, y as Integer, w as Integer, h as Integer, CGColorSpace as Variant = nil, BackgroundColor as NSColorMBS = nil) as picture
- method CopyPictureWithAlpha as picture
- method CopyPictureWithAlphaRect(x as Integer, y as Integer, w as Integer, h as Integer) as picture
- method CopyPictureWithMask(CGColorSpace as Variant = nil) as picture
- method DrawIntoCGContextAtPoint(cgcontext as Integer, x as Double, y as Double, sx as Double, sy as Double, SourceW as Double, SourceH as Double, operation as Integer, fraction as Double) as boolean
- method DrawIntoCGContextAtRect(cgcontext as Integer, x as Double, y as Double, w as Double, h as Double, SourceX as Double, SourceY as Double, SourceW as Double, SourceH as Double, operation as Integer, fraction as Double) as boolean
- method GIFRepresentation as Memoryblock
- method GIFRepresentationMT as Memoryblock
- method imageByFadingToFraction(fraction as Double) as NSImageMBS
- method imageByScalingToSize(width as Double, height as Double) as NSImageMBS
- method imageByScalingToSize(width as Double, height as Double, fraction as Double) as NSImageMBS
- method imageByScalingToSize(width as Double, height as Double, fraction as Double, flip as boolean, proportionally as boolean) as NSImageMBS
- shared method imageFileTypes as string()
- shared method imageNamed(name as string) as NSImageMBS
- shared method imagePasteboardTypes as string()
- shared method imageTypes as string()
- shared method imageUnfilteredFileTypes as string()
- shared method imageUnfilteredPasteboardTypes as string()
- shared method imageUnfilteredTypes as string()
- shared method imageWithCGImage(CGImage as Variant, width as Double = 0, height as Double = 0) as NSImageMBS
- shared method imageWithContentsOfFile(file as folderitem) as NSImageMBS
- shared method imageWithContentsOfFileMT(file as folderitem) as NSImageMBS
- shared method imageWithContentsOfPath(path as string) as NSImageMBS
- shared method imageWithContentsOfPathMT(path as string) as NSImageMBS
- shared method imageWithContentsOfURL(URL as string) as NSImageMBS
- shared method imageWithContentsOfURLMT(URL as string) as NSImageMBS
- shared method imageWithData(data as memoryblock) as NSImageMBS
- shared method imageWithData(data as string) as NSImageMBS
- shared method imageWithDataMT(data as memoryblock) as NSImageMBS
- shared method imageWithDataMT(data as string) as NSImageMBS
- shared method imageWithHandle(Handle as Integer) as NSImageMBS
- method imageWithSymbolConfiguration(configuration as NSImageSymbolConfigurationMBS) as NSImageMBS
- shared method imageWithSystemSymbolName(name as string, accessibilityDescription as string = "") as NSImageMBS
- method imageWithTintColor(tintColor as NSColorMBS) as NSImageMBS
- method initWithContentsOfURL(file as folderitem) as boolean
- method initWithContentsOfURL(url as string) as boolean
- method initWithData(data as Memoryblock) as boolean
- method initWithDataIgnoringOrientation(data as Memoryblock) as boolean
- method initWithIconRef(IconHandle as Integer) as boolean
- method initWithPasteboard as boolean
- method initWithPicture(img as picture, mask as picture = nil) as boolean
- method initWithSize(width as Double, height as Double) as boolean
- method JPEGRepresentation as Memoryblock
- method JPEGRepresentationMT as Memoryblock
- method JPEGRepresentationWithCompressionFactor(factor as Double) as Memoryblock
- method JPEGRepresentationWithCompressionFactorMT(factor as Double) as Memoryblock
- shared method NSImageHintUserInterfaceLayoutDirection as string
- shared method NSImageNameActionTemplate as string
- shared method NSImageNameAddTemplate as string
- shared method NSImageNameAdvanced as string
- shared method NSImageNameApplicationIcon as string
- shared method NSImageNameBluetoothTemplate as string
- shared method NSImageNameBonjour as string
- shared method NSImageNameBookmarksTemplate as string
- shared method NSImageNameCaution as string
- shared method NSImageNameColorPanel as string
- shared method NSImageNameColumnViewTemplate as string
- shared method NSImageNameComputer as string
- shared method NSImageNameDotMac as string
- shared method NSImageNameEnterFullScreenTemplate as string
- shared method NSImageNameEveryone as string
- shared method NSImageNameExitFullScreenTemplate as string
- shared method NSImageNameFlowViewTemplate as string
- shared method NSImageNameFolder as string
- shared method NSImageNameFolderBurnable as string
- shared method NSImageNameFolderSmart as string
- shared method NSImageNameFollowLinkFreestandingTemplate as string
- shared method NSImageNameFontPanel as string
- shared method NSImageNameGoBackTemplate as string
- shared method NSImageNameGoForwardTemplate as string
- shared method NSImageNameGoLeftTemplate as string
- shared method NSImageNameGoRightTemplate as string
- shared method NSImageNameHomeTemplate as string
- shared method NSImageNameIChatTheaterTemplate as string
- shared method NSImageNameIconViewTemplate as string
- shared method NSImageNameInfo as string
- shared method NSImageNameInvalidDataFreestandingTemplate as string
- shared method NSImageNameLeftFacingTriangleTemplate as string
- shared method NSImageNameListViewTemplate as string
- shared method NSImageNameLockLockedTemplate as string
- shared method NSImageNameLockUnlockedTemplate as string
- shared method NSImageNameMenuMixedStateTemplate as string
- shared method NSImageNameMenuOnStateTemplate as string
- shared method NSImageNameMobileMe as string
- shared method NSImageNameMultipleDocuments as string
- shared method NSImageNameNetwork as string
- shared method NSImageNamePathTemplate as string
- shared method NSImageNamePreferencesGeneral as string
- shared method NSImageNameQuickLookTemplate as string
- shared method NSImageNameRefreshFreestandingTemplate as string
- shared method NSImageNameRefreshTemplate as string
- shared method NSImageNameRemoveTemplate as string
- shared method NSImageNameRevealFreestandingTemplate as string
- shared method NSImageNameRightFacingTriangleTemplate as string
- shared method NSImageNameShareTemplate as string
- shared method NSImageNameSlideshowTemplate as string
- shared method NSImageNameSmartBadgeTemplate as string
- shared method NSImageNameStatusAvailable as string
- shared method NSImageNameStatusNone as string
- shared method NSImageNameStatusPartiallyAvailable as string
- shared method NSImageNameStatusUnavailable as string
- shared method NSImageNameStopProgressFreestandingTemplate as string
- shared method NSImageNameStopProgressTemplate as string
- shared method NSImageNameTouchBarAddDetailTemplate as string
- shared method NSImageNameTouchBarAddTemplate as string
- shared method NSImageNameTouchBarAlarmTemplate as string
- shared method NSImageNameTouchBarAudioInputMuteTemplate as string
- shared method NSImageNameTouchBarAudioInputTemplate as string
- shared method NSImageNameTouchBarAudioOutputMuteTemplate as string
- shared method NSImageNameTouchBarAudioOutputVolumeHighTemplate as string
- shared method NSImageNameTouchBarAudioOutputVolumeLowTemplate as string
- shared method NSImageNameTouchBarAudioOutputVolumeMediumTemplate as string
- shared method NSImageNameTouchBarAudioOutputVolumeOffTemplate as string
- shared method NSImageNameTouchBarBookmarksTemplate as string
- shared method NSImageNameTouchBarColorPickerFill as string
- shared method NSImageNameTouchBarColorPickerFont as string
- shared method NSImageNameTouchBarColorPickerStroke as string
- shared method NSImageNameTouchBarCommunicationAudioTemplate as string
- shared method NSImageNameTouchBarCommunicationVideoTemplate as string
- shared method NSImageNameTouchBarComposeTemplate as string
- shared method NSImageNameTouchBarDeleteTemplate as string
- shared method NSImageNameTouchBarDownloadTemplate as string
- shared method NSImageNameTouchBarEnterFullScreenTemplate as string
- shared method NSImageNameTouchBarExitFullScreenTemplate as string
- shared method NSImageNameTouchBarFastForwardTemplate as string
- shared method NSImageNameTouchBarFolderCopyToTemplate as string
- shared method NSImageNameTouchBarFolderMoveToTemplate as string
- shared method NSImageNameTouchBarFolderTemplate as string
- shared method NSImageNameTouchBarGetInfoTemplate as string
- shared method NSImageNameTouchBarGoBackTemplate as string
- shared method NSImageNameTouchBarGoDownTemplate as string
- shared method NSImageNameTouchBarGoForwardTemplate as string
- shared method NSImageNameTouchBarGoUpTemplate as string
- shared method NSImageNameTouchBarHistoryTemplate as string
- shared method NSImageNameTouchBarIconViewTemplate as string
- shared method NSImageNameTouchBarListViewTemplate as string
- shared method NSImageNameTouchBarMailTemplate as string
- shared method NSImageNameTouchBarNewFolderTemplate as string
- shared method NSImageNameTouchBarNewMessageTemplate as string
- shared method NSImageNameTouchBarOpenInBrowserTemplate as string
- shared method NSImageNameTouchBarPauseTemplate as string
- shared method NSImageNameTouchBarPlayheadTemplate as string
- shared method NSImageNameTouchBarPlayPauseTemplate as string
- shared method NSImageNameTouchBarPlayTemplate as string
- shared method NSImageNameTouchBarQuickLookTemplate as string
- shared method NSImageNameTouchBarRecordStartTemplate as string
- shared method NSImageNameTouchBarRecordStopTemplate as string
- shared method NSImageNameTouchBarRefreshTemplate as string
- shared method NSImageNameTouchBarRewindTemplate as string
- shared method NSImageNameTouchBarRotateLeftTemplate as string
- shared method NSImageNameTouchBarRotateRightTemplate as string
- shared method NSImageNameTouchBarSearchTemplate as string
- shared method NSImageNameTouchBarShareTemplate as string
- shared method NSImageNameTouchBarSidebarTemplate as string
- shared method NSImageNameTouchBarSkipAhead15SecondsTemplate as string
- shared method NSImageNameTouchBarSkipAhead30SecondsTemplate as string
- shared method NSImageNameTouchBarSkipAheadTemplate as string
- shared method NSImageNameTouchBarSkipBack15SecondsTemplate as string
- shared method NSImageNameTouchBarSkipBack30SecondsTemplate as string
- shared method NSImageNameTouchBarSkipBackTemplate as string
- shared method NSImageNameTouchBarSkipToEndTemplate as string
- shared method NSImageNameTouchBarSkipToStartTemplate as string
- shared method NSImageNameTouchBarSlideshowTemplate as string
- shared method NSImageNameTouchBarTagIconTemplate as string
- shared method NSImageNameTouchBarTextBoldTemplate as string
- shared method NSImageNameTouchBarTextBoxTemplate as string
- shared method NSImageNameTouchBarTextCenterAlignTemplate as string
- shared method NSImageNameTouchBarTextItalicTemplate as string
- shared method NSImageNameTouchBarTextJustifiedAlignTemplate as string
- shared method NSImageNameTouchBarTextLeftAlignTemplate as string
- shared method NSImageNameTouchBarTextListTemplate as string
- shared method NSImageNameTouchBarTextRightAlignTemplate as string
- shared method NSImageNameTouchBarTextStrikethroughTemplate as string
- shared method NSImageNameTouchBarTextUnderlineTemplate as string
- shared method NSImageNameTouchBarUserAddTemplate as string
- shared method NSImageNameTouchBarUserGroupTemplate as string
- shared method NSImageNameTouchBarUserTemplate as string
- shared method NSImageNameTouchBarVolumeDownTemplate as string
- shared method NSImageNameTouchBarVolumeUpTemplate as string
- shared method NSImageNameTrashEmpty as string
- shared method NSImageNameTrashFull as string
- shared method NSImageNameUser as string
- shared method NSImageNameUserAccounts as string
- shared method NSImageNameUserGroup as string
- shared method NSImageNameUserGuest as string
- method PNGRepresentation as Memoryblock
- method PNGRepresentationMT as Memoryblock
- method recache
- method removeRepresentation(img as NSImageRepMBS)
- method RepresentationHeight(index as Integer) as Integer
- method representations as NSImageRepMBS()
- method RepresentationWidth(index as Integer) as Integer
- method setName(value as String) as Boolean
- method setSize(width as Double, height as Double)
- method TIFFRepresentation as Memoryblock
- method TIFFRepresentationMT as Memoryblock
- method TIFFRepresentationUsingCompression(comp as Integer, factor as Double) as Memoryblock
- method TIFFRepresentationUsingCompressionMT(comp as Integer, factor as Double) as Memoryblock
- property accessibilityDescription as string
- property backgroundColor as NSColorMBS
- property cacheDepthMatchesImageDepth as Boolean
- property cacheMode as Integer
- property EXIFData as Dictionary
- property Handle as Integer
- property height as Double
- property isCachedSeparately as Boolean
- property isDataRetained as Boolean
- property isFlipped as Boolean
- property isTemplate as Boolean
- property isValid as Boolean
- property matchesOnMultipleResolution as Boolean
- property MaximumPixelHeight as Integer
- property MaximumPixelWidth as Integer
- property MinimumPixelHeight as Integer
- property MinimumPixelWidth as Integer
- property name as String
- property prefersColorMatch as Boolean
- property RepresentationsCount as Integer
- property scalesWhenResized as Boolean
- property size as NSSizeMBS
- property symbolConfiguration as NSImageSymbolConfigurationMBS
- property usesEPSOnResolutionMismatch as Boolean
- property width as Double
- class NSImageRepMBS
- shared method canInitWithData(data as memoryblock) as Boolean
- method Constructor
- method setSize(width as Double, height as Double)
- property bitsPerSample as Integer
- property colorSpaceName as String
- property Handle as Integer
- property hasAlpha as Boolean
- property height as Double
- property isOpaque as Boolean
- property pixelsHigh as Integer
- property pixelsWide as Integer
- property size as NSSizeMBS
- property width as Double
- class NSImageSymbolConfigurationMBS
- shared method available as Boolean
- method configurationByApplyingConfiguration(configuration as NSImageSymbolConfigurationMBS) as NSImageSymbolConfigurationMBS
- shared method configurationPreferringMulticolor as NSImageSymbolConfigurationMBS
- shared method configurationWithHierarchicalColor(hierarchicalColor as NSColorMBS) as NSImageSymbolConfigurationMBS
- shared method configurationWithPaletteColors(paletteColors() as NSColorMBS) as NSImageSymbolConfigurationMBS
- shared method configurationWithPointSize(pointSize as Double, weight as Double) as NSImageSymbolConfigurationMBS
- shared method configurationWithPointSize(pointSize as Double, weight as Double, SymbolScale as Integer) as NSImageSymbolConfigurationMBS
- shared method configurationWithScale(SymbolScale as Integer) as NSImageSymbolConfigurationMBS
- shared method configurationWithTextStyle(TextStyle as Integer) as NSImageSymbolConfigurationMBS
- shared method configurationWithTextStyle(TextStyle as Integer, SymbolScale as Integer) as NSImageSymbolConfigurationMBS
- method Constructor
- shared method NSFontTextStyleBody as String
- shared method NSFontTextStyleCallout as String
- shared method NSFontTextStyleCaption1 as String
- shared method NSFontTextStyleCaption2 as String
- shared method NSFontTextStyleFootnote as String
- shared method NSFontTextStyleHeadline as String
- shared method NSFontTextStyleLargeTitle as String
- shared method NSFontTextStyleSubheadline as String
- shared method NSFontTextStyleTitle1 as String
- shared method NSFontTextStyleTitle2 as String
- shared method NSFontTextStyleTitle3 as String
- property Description as String
- property Handle as Integer
- class NSPDFImageRepMBS
- method Constructor(data as Memoryblock)
- shared method imageRepWithData(data as Memoryblock) as NSPDFImageRepMBS
- method PDFRepresentation as Memoryblock
- property bounds as NSRectMBS
- property currentPage as Integer
- property pageCount as Integer
- class NSPICTImageRepMBS
- method Constructor(data as Memoryblock)
- shared method imageRepWithData(data as Memoryblock) as NSPICTImageRepMBS
- method PICTRepresentation as Memoryblock
- property boundingBox as NSRectMBS
- class NSBezierPathMBS
- Blog Entries
Release notes
- Version 24.0
- Fixed a problem with file property in NSColorSpaceMBS class not working.
- Version 23.3
- Deprecated NSEPSImageRepMBS class.
- Version 22.4
- Implemented CopyPicture in NSImageMBS class.
- Version 22.1
- Added NSImageSymbolConfigurationMBS class.
- Version 21.2
- Changes NSAttributedStringMBS and NSColorMBS classes to not reference macOS only function selectors.
- Version 20.5
- Added imageWithSystemSymbolName method to NSImageMBS class to get SF Symbols.
- Version 20.1
- Added NSImageMBS.imageWithTintColor method.
- Version 20.0
- Added CGContextMBS.contextWithCGContext and NSGraphicsMBS.graphicsContextWithCGContextHandle taking ptr for better coding in Xojo 2019r2 and newer.
- Version 19.4
- Added NSColorSamplerMBS class.
- Added systemIndigoColor and systemTealColor to NSColorMBS class.
The items on this page are in the following plugins: MBS MacBase Plugin, MBS MacCocoa Plugin.