NSCell.DrawThreePartImage 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 three-part image in the specified frame.
public void DrawThreePartImage(CoreGraphics.CGRect frame, AppKit.NSImage startCap, AppKit.NSImage centerFill, AppKit.NSImage endCap, bool vertical, AppKit.NSCompositingOperation op, System.Runtime.InteropServices.NFloat alphaFraction, bool flipped);
member this.DrawThreePartImage : CoreGraphics.CGRect * AppKit.NSImage * AppKit.NSImage * AppKit.NSImage * bool * AppKit.NSCompositingOperation * System.Runtime.InteropServices.NFloat * bool -> unit
Parameters
- frame
- CGRect
The frame rectangle in which to draw.
- startCap
- NSImage
The image for the start cap.
- centerFill
- NSImage
The image for the center fill region.
- endCap
- NSImage
The image for the end cap.
- vertical
- Boolean
Whether to draw the image vertically.
The compositing operation to use.
- alphaFraction
- NFloat
The alpha fraction for the drawing operation.
- flipped
- Boolean
Whether to draw with a flipped coordinate system.