tan

open fun tan(@NonNull number: Expression): Expression(source)

Returns the tangent of the input.

Example usage:


CircleLayer circleLayer = new CircleLayer("layer-id", "source-id");
circleLayer.setProperties(
    circleRadius(tan(pi()))
);

Return

expression

Parameters

number

the number to calculate the tangent for

See also


open fun tan(@NonNull number: Number): Expression(source)

Returns the tangent of the input.

Example usage:


CircleLayer circleLayer = new CircleLayer("layer-id", "source-id");
circleLayer.setProperties(
    circleRadius(tan(45.0f))
);

Return

expression

Parameters

number

the number to calculate the tangent for

See also