pi

open fun pi(): Expression(source)

Returns the mathematical constant pi.

Example usage:


CircleLayer circleLayer = new CircleLayer("layer-id", "source-id");
circleLayer.setProperties(
    circleRadius(product(literal(10.0f), pi()))
);

Return

expression

See also