Table of Contents

Class ConicGradientNode

Namespace
Gsk.Internal
Assembly
Gsk-4.0.dll
public class ConicGradientNode
Inheritance
ConicGradientNode
Inherited Members

Methods

GetAngle(IntPtr)

Calls native method gsk_conic_gradient_node_get_angle. Version: 4.2

[Version("4.2")]
public static extern float GetAngle(IntPtr node)

Parameters

node IntPtr

Transfer ownership: None Nullable: False

Returns

float

Transfer ownership: None Nullable: False

GetCenter(IntPtr)

Calls native method gsk_conic_gradient_node_get_center.

public static extern PointUnownedHandle GetCenter(IntPtr node)

Parameters

node IntPtr

Transfer ownership: None Nullable: False

Returns

PointUnownedHandle

Transfer ownership: None Nullable: False

GetGType()

Calls native function gsk_conic_gradient_node_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetNColorStops(IntPtr)

Calls native method gsk_conic_gradient_node_get_n_color_stops.

public static extern nuint GetNColorStops(IntPtr node)

Parameters

node IntPtr

Transfer ownership: None Nullable: False

Returns

nuint

Transfer ownership: None Nullable: False

GetRotation(IntPtr)

Calls native method gsk_conic_gradient_node_get_rotation.

public static extern float GetRotation(IntPtr node)

Parameters

node IntPtr

Transfer ownership: None Nullable: False

Returns

float

Transfer ownership: None Nullable: False

New(RectHandle, PointHandle, float, ColorStopArrayHandle, nuint)

Calls native constructor gsk_conic_gradient_node_new.

public static extern IntPtr New(RectHandle bounds, PointHandle center, float rotation, ColorStopArrayHandle colorStops, nuint nColorStops)

Parameters

bounds RectHandle

Transfer ownership: None Nullable: False

center PointHandle

Transfer ownership: None Nullable: False

rotation float

Transfer ownership: None Nullable: False

colorStops ColorStopArrayHandle

Transfer ownership: None Nullable: False

nColorStops nuint

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False