Class RoundedRect
- Namespace
- Gsk
- Assembly
- Gsk-4.0.dll
public sealed class RoundedRect
- Inheritance
-
RoundedRect
- Inherited Members
Constructors
RoundedRect()
public RoundedRect()
RoundedRect(RoundedRectOwnedHandle)
public RoundedRect(RoundedRectOwnedHandle handle)
Parameters
handle
RoundedRectOwnedHandle
Properties
Handle
public RoundedRectOwnedHandle Handle { get; }
Property Value
Methods
ContainsPoint(Point)
public bool ContainsPoint(Point point)
Parameters
point
Point
Returns
ContainsRect(Rect)
public bool ContainsRect(Rect rect)
Parameters
rect
Rect
Returns
Equals(RoundedRect?)
public bool Equals(RoundedRect? other)
Parameters
other
RoundedRect
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
Init(Rect, Size, Size, Size, Size)
public RoundedRect Init(Rect bounds, Size topLeft, Size topRight, Size bottomRight, Size bottomLeft)
Parameters
Returns
InitCopy(RoundedRect)
public RoundedRect InitCopy(RoundedRect src)
Parameters
src
RoundedRect
Returns
InitFromRect(Rect, float)
public RoundedRect InitFromRect(Rect bounds, float radius)
Parameters
Returns
IntersectsRect(Rect)
public bool IntersectsRect(Rect rect)
Parameters
rect
Rect
Returns
IsRectilinear()
public bool IsRectilinear()
Returns
Normalize()
public RoundedRect Normalize()
Returns
Offset(float, float)
public RoundedRect Offset(float dx, float dy)
Parameters
Returns
Shrink(float, float, float, float)
public RoundedRect Shrink(float top, float right, float bottom, float left)