Table of Contents

Class RoundedRect

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

Methods

ContainsPoint(RoundedRectHandle, PointHandle)

Calls native method gsk_rounded_rect_contains_point.

public static extern bool ContainsPoint(RoundedRectHandle self, PointHandle point)

Parameters

self RoundedRectHandle

Transfer ownership: None Nullable: False

point PointHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

ContainsRect(RoundedRectHandle, RectHandle)

Calls native method gsk_rounded_rect_contains_rect.

public static extern bool ContainsRect(RoundedRectHandle self, RectHandle rect)

Parameters

self RoundedRectHandle

Transfer ownership: None Nullable: False

rect RectHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

Init(RoundedRectHandle, RectHandle, SizeHandle, SizeHandle, SizeHandle, SizeHandle)

Calls native method gsk_rounded_rect_init.

public static extern RoundedRectUnownedHandle Init(RoundedRectHandle self, RectHandle bounds, SizeHandle topLeft, SizeHandle topRight, SizeHandle bottomRight, SizeHandle bottomLeft)

Parameters

self RoundedRectHandle

Transfer ownership: None Nullable: False

bounds RectHandle

Transfer ownership: None Nullable: False

topLeft SizeHandle

Transfer ownership: None Nullable: False

topRight SizeHandle

Transfer ownership: None Nullable: False

bottomRight SizeHandle

Transfer ownership: None Nullable: False

bottomLeft SizeHandle

Transfer ownership: None Nullable: False

Returns

RoundedRectUnownedHandle

Transfer ownership: None Nullable: False

InitCopy(RoundedRectHandle, RoundedRectHandle)

Calls native method gsk_rounded_rect_init_copy.

public static extern RoundedRectUnownedHandle InitCopy(RoundedRectHandle self, RoundedRectHandle src)

Parameters

self RoundedRectHandle

Transfer ownership: None Nullable: False

src RoundedRectHandle

Transfer ownership: None Nullable: False

Returns

RoundedRectUnownedHandle

Transfer ownership: None Nullable: False

InitFromRect(RoundedRectHandle, RectHandle, float)

Calls native method gsk_rounded_rect_init_from_rect.

public static extern RoundedRectUnownedHandle InitFromRect(RoundedRectHandle self, RectHandle bounds, float radius)

Parameters

self RoundedRectHandle

Transfer ownership: None Nullable: False

bounds RectHandle

Transfer ownership: None Nullable: False

radius float

Transfer ownership: None Nullable: False

Returns

RoundedRectUnownedHandle

Transfer ownership: None Nullable: False

IntersectsRect(RoundedRectHandle, RectHandle)

Calls native method gsk_rounded_rect_intersects_rect.

public static extern bool IntersectsRect(RoundedRectHandle self, RectHandle rect)

Parameters

self RoundedRectHandle

Transfer ownership: None Nullable: False

rect RectHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

IsRectilinear(RoundedRectHandle)

Calls native method gsk_rounded_rect_is_rectilinear.

public static extern bool IsRectilinear(RoundedRectHandle self)

Parameters

self RoundedRectHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

Normalize(RoundedRectHandle)

Calls native method gsk_rounded_rect_normalize.

public static extern RoundedRectUnownedHandle Normalize(RoundedRectHandle self)

Parameters

self RoundedRectHandle

Transfer ownership: None Nullable: False

Returns

RoundedRectUnownedHandle

Transfer ownership: None Nullable: False

Offset(RoundedRectHandle, float, float)

Calls native method gsk_rounded_rect_offset.

public static extern RoundedRectUnownedHandle Offset(RoundedRectHandle self, float dx, float dy)

Parameters

self RoundedRectHandle

Transfer ownership: None Nullable: False

dx float

Transfer ownership: None Nullable: False

dy float

Transfer ownership: None Nullable: False

Returns

RoundedRectUnownedHandle

Transfer ownership: None Nullable: False

Shrink(RoundedRectHandle, float, float, float, float)

Calls native method gsk_rounded_rect_shrink.

public static extern RoundedRectUnownedHandle Shrink(RoundedRectHandle self, float top, float right, float bottom, float left)

Parameters

self RoundedRectHandle

Transfer ownership: None Nullable: False

top float

Transfer ownership: None Nullable: False

right float

Transfer ownership: None Nullable: False

bottom float

Transfer ownership: None Nullable: False

left float

Transfer ownership: None Nullable: False

Returns

RoundedRectUnownedHandle

Transfer ownership: None Nullable: False