class CustomAttribute


Defines non standard Attributes

Summary

Nested types

Public constructors

CustomAttribute(
    name: String!,
    attributeType: CustomAttribute.AttributeType!
)
CustomAttribute(source: CustomAttribute!, value: Any!)
CustomAttribute(
    name: String!,
    attributeType: CustomAttribute.AttributeType!,
    value: Any!,
    method: Boolean
)

Public functions

Boolean
diff(customAttribute: CustomAttribute!)

test if the two attributes are different

CustomAttribute.AttributeType!
Float

Transforms value to a float for the purpose of interpolation

Unit
java-static Int
hsvToRgb(hue: Float, saturation: Float, value: Float)
Boolean

Continuous types are interpolated they are fired only at

Int

The number of interpolation values that need to be interpolated Typically 1 but 3 for colors.

Unit
Unit
Unit
setIntValue(value: Int)
Unit
Unit
setValue(value: Any!)
Unit

Public constructors

CustomAttribute

Added in 1.1.0
CustomAttribute(
    name: String!,
    attributeType: CustomAttribute.AttributeType!
)

CustomAttribute

Added in 1.1.0
CustomAttribute(source: CustomAttribute!, value: Any!)

CustomAttribute

Added in 1.1.0
CustomAttribute(
    name: String!,
    attributeType: CustomAttribute.AttributeType!,
    value: Any!,
    method: Boolean
)

Public functions

diff

Added in 1.1.0
fun diff(customAttribute: CustomAttribute!): Boolean

test if the two attributes are different

getType

Added in 1.1.0
fun getType(): CustomAttribute.AttributeType!

getValueToInterpolate

Added in 1.1.0
fun getValueToInterpolate(): Float

Transforms value to a float for the purpose of interpolation

Returns
Float

interpolation value

getValuesToInterpolate

Added in 1.1.0
fun getValuesToInterpolate(ret: FloatArray!): Unit

hsvToRgb

Added in 1.1.0
java-static fun hsvToRgb(hue: Float, saturation: Float, value: Float): Int

isContinuous

Added in 1.1.0
fun isContinuous(): Boolean

Continuous types are interpolated they are fired only at

numberOfInterpolatedValues

Added in 1.1.0
fun numberOfInterpolatedValues(): Int

The number of interpolation values that need to be interpolated Typically 1 but 3 for colors.

Returns
Int

Typically 1 but 3 for colors.

setColorValue

Added in 1.1.0
fun setColorValue(value: Int): Unit

setFloatValue

Added in 1.1.0
fun setFloatValue(value: Float): Unit

setIntValue

Added in 1.1.0
fun setIntValue(value: Int): Unit

setStringValue

Added in 1.1.0
fun setStringValue(value: String!): Unit

setValue

Added in 1.1.0
fun setValue(value: Any!): Unit

setValue

Added in 1.1.0
fun setValue(value: FloatArray!): Unit