NSCell.DrawNinePartImage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Draws a nine-part image in the specified frame.
public void DrawNinePartImage(CoreGraphics.CGRect frame, AppKit.NSImage topLeftCorner, AppKit.NSImage topEdgeFill, AppKit.NSImage topRightCorner, AppKit.NSImage leftEdgeFill, AppKit.NSImage centerFill, AppKit.NSImage rightEdgeFill, AppKit.NSImage bottomLeftCorner, AppKit.NSImage bottomEdgeFill, AppKit.NSImage bottomRightCorner, AppKit.NSCompositingOperation op, System.Runtime.InteropServices.NFloat alphaFraction, bool flipped);
member this.DrawNinePartImage : CoreGraphics.CGRect * AppKit.NSImage * AppKit.NSImage * AppKit.NSImage * AppKit.NSImage * AppKit.NSImage * AppKit.NSImage * AppKit.NSImage * AppKit.NSImage * AppKit.NSImage * AppKit.NSCompositingOperation * System.Runtime.InteropServices.NFloat * bool -> unit
Parameters
- frame
- CGRect
The frame rectangle in which to draw.
- topLeftCorner
- NSImage
The image for the top-left corner.
- topEdgeFill
- NSImage
The image for the top edge fill.
- topRightCorner
- NSImage
The image for the top-right corner.
- leftEdgeFill
- NSImage
The image for the left edge fill.
- centerFill
- NSImage
The image for the center fill region.
- rightEdgeFill
- NSImage
The image for the right edge fill.
- bottomLeftCorner
- NSImage
The image for the bottom-left corner.
- bottomEdgeFill
- NSImage
The image for the bottom edge fill.
- bottomRightCorner
- NSImage
The image for the bottom-right corner.
The compositing operation to use.
- alphaFraction
- NFloat
The alpha fraction for the drawing operation.
- flipped
- Boolean
Whether to draw with a flipped coordinate system.