Protocolswiftwasm.webapikit 0.1.0DOM
CanvasPathDrawingStyles
Generated.swift:1973protocol CanvasPathDrawingStyles : JSBridgedClass
Browse conforming typesprotocol CanvasPathDrawingStyles : JSBridgedClass
import DOM
protocol JSBridgedClass : JSBridgedType
Conform to this protocol when your Swift class wraps a JavaScript class.
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 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.
var lineCap: CanvasLineCap { get nonmutating set }
var lineDashOffset: Double { get nonmutating set }
var lineJoin: CanvasLineJoin { get nonmutating set }
var lineWidth: Double { get nonmutating set }
var miterLimit: Double { get nonmutating set }
func getLineDash() -> [Double]
func setLineDash(segments: [Double])