Edit

Share via


CGContext.StrokeRectWithWidth(CGRect, nfloat) Method

Definition

Strokes the rect. The line extends half of width to either side of the rect perimeter.

public void StrokeRectWithWidth (CoreGraphics.CGRect rect, nfloat width);
member this.StrokeRectWithWidth : CoreGraphics.CGRect * nfloat -> unit

Parameters

rect
CGRect

The rectangle to be stroked.

width
nfloat

The width of the stroked line, in user space units.

Applies to