Language

CGContext.SetStrokeColor Method

Definition

Overloads

SetStrokeColor(CGColor)

Sets the stroke color.

public void SetStrokeColor(CoreGraphics.CGColor? color);
member this.SetStrokeColor : CoreGraphics.CGColor -> unit

Parameters

color
CGColor

The desired CGColor.

Applies to

SetStrokeColor(NFloat[])

public void SetStrokeColor(System.Runtime.InteropServices.NFloat[]? components);
member this.SetStrokeColor : System.Runtime.InteropServices.NFloat[] -> unit

Parameters

components
NFloat[]

Applies to

SetStrokeColor(NFloat, NFloat)

public void SetStrokeColor(System.Runtime.InteropServices.NFloat gray, System.Runtime.InteropServices.NFloat alpha);
member this.SetStrokeColor : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> unit

Parameters

gray
NFloat
alpha
NFloat

Applies to

SetStrokeColor(NFloat, NFloat, NFloat, NFloat)

public void SetStrokeColor(System.Runtime.InteropServices.NFloat red, System.Runtime.InteropServices.NFloat green, System.Runtime.InteropServices.NFloat blue, System.Runtime.InteropServices.NFloat alpha);
member this.SetStrokeColor : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> unit

Parameters

red
NFloat
green
NFloat
blue
NFloat
alpha
NFloat

Applies to

SetStrokeColor(NFloat, NFloat, NFloat, NFloat, NFloat)

public void SetStrokeColor(System.Runtime.InteropServices.NFloat cyan, System.Runtime.InteropServices.NFloat magenta, System.Runtime.InteropServices.NFloat yellow, System.Runtime.InteropServices.NFloat black, System.Runtime.InteropServices.NFloat alpha);
member this.SetStrokeColor : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> unit

Parameters

cyan
NFloat
magenta
NFloat
yellow
NFloat
black
NFloat
alpha
NFloat

Applies to