CGRect Extension
Location
- Reference: libSilver.fx
- Namespace: Swift
- Extends: CGRect
- Platforms: Toffee
constructor withOrigin(not nullable CGPoint) size(not nullable CGSize)
init(withOrigin 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(withX x: CGFloat, y: CGFloat, width: CGFloat, height: CGFloat)
Parameters:
- x:
- y:
- width:
- height:
constructor $New()
init($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
var x: CGFloat { get{} }
y
var y: CGFloat { get{} }
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
var x: CGFloat { get{} }
y
var y: CGFloat { get{} }
zero
static var zero: CGRect { get{} }
constructor withOrigin(not nullable CGPoint) size(not nullable CGSize)
init(withOrigin 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(withX x: CGFloat, y: CGFloat, width: CGFloat, height: CGFloat)
Parameters:
- x:
- y:
- width:
- height:
constructor $New()
init($New )
Parameters:
- :