createGraphicOwner Method
Create a graphic that assumes ownership of another graphic.
createGraphicOwner(ownedGraphic: RenderGraphic): RenderGraphicOwner
see RenderGraphicOwner for details regarding ownership semantics.
Parameter | Type | Description |
---|---|---|
ownedGraphic | RenderGraphic | The RenderGraphic to be owned. |
Returns - RenderGraphicOwner
The owning graphic that exposes a disposeGraphic
method for explicitly disposing of the owned graphic.
Defined in
Last Updated: 30 November, 2023