Class RoundedRect
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
RoundedRectHandleTransfer ownership: None Nullable: False
point
PointHandleTransfer 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
RoundedRectHandleTransfer ownership: None Nullable: False
rect
RectHandleTransfer 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
RoundedRectHandleTransfer ownership: None Nullable: False
bounds
RectHandleTransfer ownership: None Nullable: False
topLeft
SizeHandleTransfer ownership: None Nullable: False
topRight
SizeHandleTransfer ownership: None Nullable: False
bottomRight
SizeHandleTransfer ownership: None Nullable: False
bottomLeft
SizeHandleTransfer 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
RoundedRectHandleTransfer ownership: None Nullable: False
src
RoundedRectHandleTransfer 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
RoundedRectHandleTransfer ownership: None Nullable: False
bounds
RectHandleTransfer ownership: None Nullable: False
radius
floatTransfer 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
RoundedRectHandleTransfer ownership: None Nullable: False
rect
RectHandleTransfer 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
RoundedRectHandleTransfer 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
RoundedRectHandleTransfer 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
RoundedRectHandleTransfer ownership: None Nullable: False
dx
floatTransfer ownership: None Nullable: False
dy
floatTransfer 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
RoundedRectHandleTransfer ownership: None Nullable: False
top
floatTransfer ownership: None Nullable: False
right
floatTransfer ownership: None Nullable: False
bottom
floatTransfer ownership: None Nullable: False
left
floatTransfer ownership: None Nullable: False
Returns
- RoundedRectUnownedHandle
Transfer ownership: None Nullable: False