Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: SepiaTone

[11:7] extends: FxObj

Wraps JavaFX SepiaTone, an effect that desaturates a node and tints it with a warm brownish sepia color to simulate an aged photograph. The level property controls the intensity of the effect from 0.0 (no change) to 1.0 (full sepia). Apply it to any node via the node's setEffect() method.

Methods

  • SepiaTone ()

    Creates a new SepiaTone effect with default settings.

  • setLevel (double L)

    Sets the intensity of the sepia tone effect.

    • @p L is a double in the range 0.0 (no effect) to 1.0 (full sepia tone).
    • @r this object