MonoMac.CoreGraphics.CGContext.SetStrokeColor Method
Sets the stroke color. This API has undefined behavior if you do not set the colorspace beforehand.

Syntax

public void SetStrokeColor (float[] components)

Parameters

components
An array of components, specific to the currently selected colorspace

Remarks

Sets the stroke color to the values specified in the components array. The number of elements in this array must be equal to the number of components in the current colorspace plus an additional element for the alpha value. For this API to work, you must previously set the colorspace on the context using SetStrokeColorSpace(), otherwise the results of calling this method are unspecified.

Requirements

Namespace: MonoMac.CoreGraphics
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0