Location

  • Reference: libSilver.fx
  • Namespace: Swift
  • Extends: CGRect
  • Platforms: Toffee

constructor withOrigin(not nullable CGPoint) size(not nullable CGSize)

init(origin: CGPoint, size: CGSize)

Parameters:

  • origin:
  • size:

constructor withX(not nullable CGFloat) y(not nullable CGFloat) width(not nullable CGFloat) height(not nullable CGFloat)

init(x: CGFloat, y: CGFloat, width: CGFloat, height: CGFloat)

Parameters:

  • x:
  • y:
  • width:
  • height:

constructor $New()

Parameters:

  • :

height

var height: CGFloat { get{} }

infinite

static var infinite: CGRect { get{} }

maxX

var maxX: CGFloat { get{} }

maxY

var maxY: CGFloat { get{} }

minX

var minX: CGFloat { get{} }

minY

var minY: CGFloat { get{} }

null

static var null: CGRect { get{} }

width

var width: CGFloat { get{} }

x


y


zero

static var zero: CGRect { get{} }

height

var height: CGFloat { get{} }

infinite

static var infinite: CGRect { get{} }

maxX

var maxX: CGFloat { get{} }

maxY

var maxY: CGFloat { get{} }

minX

var minX: CGFloat { get{} }

minY

var minY: CGFloat { get{} }

null

static var null: CGRect { get{} }

width

var width: CGFloat { get{} }

x


y


zero

static var zero: CGRect { get{} }

constructor withOrigin(not nullable CGPoint) size(not nullable CGSize)

init(origin: CGPoint, size: CGSize)

Parameters:

  • origin:
  • size:

constructor withX(not nullable CGFloat) y(not nullable CGFloat) width(not nullable CGFloat) height(not nullable CGFloat)

init(x: CGFloat, y: CGFloat, width: CGFloat, height: CGFloat)

Parameters:

  • x:
  • y:
  • width:
  • height:

constructor $New()

Parameters:

  • :