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: 08 January, 2020