Show / Hide Table of Contents

Class RectOffset

Inheritance
Object
RectOffset
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEngine
Assembly: UnityEngine.dll
Syntax
[Serializable]
public class RectOffset

Constructors

| Improve this Doc View Source

RectOffset()

Declaration
public RectOffset()
| Improve this Doc View Source

RectOffset(Int32, Int32, Int32, Int32)

Declaration
public RectOffset(int left, int right, int top, int bottom)
Parameters
Type Name Description
Int32 left
Int32 right
Int32 top
Int32 bottom

Properties

bottom

Declaration
public int bottom { get; set; }
Property Value
Type Description
Int32

horizontal

Declaration
public int horizontal { get; }
Property Value
Type Description
Int32

left

Declaration
public int left { get; set; }
Property Value
Type Description
Int32

right

Declaration
public int right { get; set; }
Property Value
Type Description
Int32

top

Declaration
public int top { get; set; }
Property Value
Type Description
Int32

vertical

Declaration
public int vertical { get; }
Property Value
Type Description
Int32

Methods

Add(Rect)

Declaration
public Rect Add(Rect rect)
Parameters
Type Name Description
Rect rect
Returns
Type Description
Rect
| Improve this Doc View Source

Finalize()

Declaration
protected void Finalize()

Remove(Rect)

Declaration
public Rect Remove(Rect rect)
Parameters
Type Name Description
Rect rect
Returns
Type Description
Rect
| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
String
Overrides
Object.ToString()

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX