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 - The owning graphic that exposes a disposeGraphic method for explicitly disposing of the owned graphic.

Defined in

Last Updated: 01 November, 2019