Language

NSCell.DrawThreePartImage Method

Definition

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.

op
NSCompositingOperation

The compositing operation to use.

alphaFraction
NFloat

The alpha fraction for the drawing operation.

flipped
Boolean

Whether to draw with a flipped coordinate system.

Applies to