FlexValue


super: Object

Events

  • Load() This event is called when the object becames available in the current runtime system.

  • Unload() This event is called when the object has been removed from the current runtime system (but not yet deallocated).

Class Properties

  • var undefined: Float Const undefined can be used as a value. (read-only)

  • var valueUndefined: FlexValue Const value undefined is a complex value used by flex methods (read-only)

  • var valueAuto: FlexValue Const value auto is a complex value used by flex methods (read-only)

Properties

  • var unit: Int Unit, point or percent (read-only)

  • var value: Float Value

  • var isUndefined: Bool is undefined (read-only)

Initializers

  • func FlexValue(value: Float, unit: Int) Create a new FlexValue.

Methods

  • func setPoint(value: Float)

  • func setPercent(value: Float)