- Prototope Documentation
- Animator
- Border
- CameraLayer
- CameraPosition
- Color
- Gesture
- Heartbeat
- Image
- Layer
- LayerAnimatorStore
- Math
- PanGesture
- Particle
- ParticleEmitter
- ParticlePreset
- Point
- Rect
- Shadow
- Size
- Sound
- TapGesture
- Timestamp
- TouchSample
- TouchSequence
- Tunable
- View as:
- Swift
- JavaScript
Rect
Method reference
-
⚓
public init(x: Double = 0, y: Double = 0, width: Double = 0, height: Double = 0)
-
Convenience methods
-
⚓
public func ==(a: Rect, b: Rect) -> Bool
-
Variables
-
⚓
public var origin: Point
-
⚓
public var size: Size
-
⚓
public var minX: Double
-
⚓
public var midX: Double
-
⚓
public var maxX: Double
-
⚓
public var minY: Double
-
⚓
public var midY: Double
-
⚓
public var maxY: Double
-
⚓
public var center: Point
-
⚓
public static let zero = Rect(x: 0, y: 0, width: 0, height: 0)