Pen::addedToStage()
This method is called when the pen is added to the stage. It assigns the given stage to the pen's stage variable.
Syntax
Java
.addedToStage(stage)
Parameters
| Name | Data Type | Description |
|---|---|---|
| stage | Stage | The stage to which the pen is added. |
Return
void
