Struct GcRect
- Namespace
- GameCanvas
- Assembly
- GameCanvas.dll
public struct GcRect : IPrimitive<GcRect>, IEquatable<GcRect>
- Implements
- Inherited Members
- Extension Methods
Constructors
GcRect(in float, in float, in float, in float, in float)
コンストラクタ
public GcRect(in float x, in float y, in float width, in float height, in float radian = 0)
Parameters
GcRect(in float2, in float, in float, in float)
コンストラクタ
public GcRect(in float2 position, in float width, in float height, in float radian = 0)
Parameters
GcRect(in float2, in float2, in float)
コンストラクタ
public GcRect(in float2 position, in float2 size, in float radian = 0)
Parameters
position
float2位置
size
float2大きさ
radian
float回転(弧度法)
GcRect(in Rect, in float)
コンストラクタ
public GcRect(in Rect rect, in float radian = 0)
Parameters
rect
Rect矩形
radian
float回転(弧度法)
Fields
Position
位置
public float2 Position
Field Value
- float2
Radian
回転(弧度法)
public float Radian
Field Value
Size
大きさ
public float2 Size
Field Value
- float2
Methods
Equals(GcRect)
public readonly bool Equals(GcRect other)
Parameters
other
GcRect
Returns
Equals(object)
public override readonly bool Equals(object obj)
Parameters
obj
object
Returns
GetHashCode()
public override readonly int GetHashCode()
Returns
ToString()
public override readonly string ToString()
Returns
Operators
operator ==(GcRect, GcRect)
public static bool operator ==(GcRect lh, GcRect rh)
Parameters
Returns
explicit operator GcRect(Rect)
public static explicit operator GcRect(Rect rect)
Parameters
rect
Rect
Returns
operator !=(GcRect, GcRect)
public static bool operator !=(GcRect lh, GcRect rh)