Spacing
class Spacing implements TypeWebGLConvertible
Constructors
constructor
public new Spacingfrom: PossibleSpacing: Spacing
public new Spacingvertical: numberhorizontal: number: Spacing
public new Spacingtop: numberhorizontal: numberbottom: number: Spacing
Properties
bottom
public bottom: number = 0
left
public left: number = 0
right
public right: number = 0
top
public top: number = 0
symbol
Accessors
x
public get x(): number
y
public get y(): number
Methods
addScalar
Parameters
value: number
lerp
Parameters
scale
Parameters
value: number
serialize
public serialize(): SerializedSpacing
toString
public toString(): string
toSymbol
public toSymbol(): symbol
toUniform
Parameters
createSignal
static public createSignalinitial?: SignalValuePossibleSpacinginterpolation: InterpolationFunctionSpacingany[] = Spacing.lerp: SpacingSignalvoid
Parameters
initial?: SignalValuePossibleSpacing
interpolation: InterpolationFunctionSpacingany[] = Spacing.lerp