DOMPointReadOnly
Generated.swift:3519class DOMPointReadOnly
class DOMPointReadOnly
import DOM
protocol ConstructibleFromJSValue
Types conforming to this protocol can be constructed from JSValue
.
protocol ConvertibleToJSValue
Objects that can be converted to a JavaScript value, preferably in a lossless manner.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol JSBridgedClass : JSBridgedType
Conform to this protocol when your Swift class wraps a JavaScript class.
protocol JSBridgedType : ConstructibleFromJSValue, ConvertibleToJSValue, CustomStringConvertible
Use this protocol when your type has no single JavaScript class. For example, a union type of multiple classes or primitive values.
required init(unsafelyWrapping jsObject: JSObject)
convenience init(x: Double? = nil, y: Double? = nil, z: Double? = nil, w: Double? = nil)
class var constructor: JSFunction? { get }
class func fromPoint(other: DOMPointInit? = nil) -> Self
let jsObject: JSObject
@ReadonlyAttribute var w: Double { get }
@ReadonlyAttribute var x: Double { get }
@ReadonlyAttribute var y: Double { get }
@ReadonlyAttribute var z: Double { get }
func matrixTransform(matrix: DOMMatrixInit? = nil) -> DOMPoint
func toJSON() -> JSObject
init?(from value: JSValue)
init?(from object: JSObject)
static func construct(from value: JSValue) -> Self?
var description: String { get }
var jsValue: JSValue { get }
func jsValue() -> JSValue
class DOMPoint