InlineDrawing (interface)

バージョン 1.13.0 で追加.

The InlineDrawing is an interface describing all methods required for the InlineDrawingBase object.

InlineDrawing InlineDrawing InlineDrawing InlineDrawingBase InlineDrawingBase InlineDrawingBase->InlineDrawing OGLInlineDrawing OGLInlineDrawing OGLInlineDrawing->InlineDrawingBase

Functions

  deregisterCallback ! ( in InlineDrawingCallback callback )
InlineDrawingCallback[] getCallbacks ? ()
Ref<InlineTexture> getOrCreateAtlasTexture ! ( in FilePath fontPath, in UInt32 fontSize )
InlineTransform getRoot ? ()
InlineShader getShader ? ( in Index index )
InlineShader getShader ? ( in String name )
Size getShaderCount ? ()
Integer getShaderIndex ? ( in String name )
InlineShape getShape ? ( in Index index )
InlineShape getShape ? ( in String name )
InlineShapeAdaptor getShapeAdaptor ? ( in Index index )
InlineShapeAdaptor getShapeAdaptor ? ( in String shapeType )
Integer getShapeAdaptorIndex ? ( in String shapeType )
Size getShapeCount ? ()
Integer getShapeIndex ? ( in String name )
InlineTexture getTexture ? ( in Index index )
InlineTexture getTexture ? ( in String name )
InlineTextureAdaptor getTextureAdaptor ? ( in Index index )
InlineTextureAdaptor getTextureAdaptor ? ( in String textureType )
Integer getTextureAdaptorIndex ? ( in String textureType )
Size getTextureCount ? ()
Integer getTextureIndex ? ( in String name )
InlineTransformAdaptor getTransformAdaptor ? ( in Index index )
InlineTransformAdaptor getTransformAdaptor ? ( in String transformType )
Integer getTransformAdaptorIndex ? ( in String transformType )
Viewport getViewport ? ( in String key )
Boolean hasShader ? ( in String name )
Boolean hasShape ? ( in String name )
Boolean hasTexture ? ( in String name )
  registerCallback ! ( in InlineDrawingCallback callback )
InlineShader registerShader ! ( in InlineShader shader )
InlineShader registerShader ! ( in Type shaderType )
InlineShape registerShape ! ( in InlineShapeBase shape )
  registerShapeAdaptor ! ( in InlineShapeAdaptor adaptor )
InlineTexture registerTexture ! ( in InlineTexture texture )
  registerTextureAdaptor ! ( in InlineTextureAdaptor adaptor )
  registerTransformAdaptor ! ( in InlineTransformAdaptor adaptor )
  registerViewport ! ( in String key, in Viewport viewport )
Boolean unregisterShape ! ( in String name )

Functions in detail

InlineDrawing.deregisterCallback! ( in InlineDrawingCallback callback )

deregisters a InlineDrawingCallback


InlineDrawingCallback[] InlineDrawing.getCallbacks? ()

deregisters a InlineDrawingCallback


Ref<InlineTexture> InlineDrawing.getOrCreateAtlasTexture! ( in FilePath fontPath, in UInt32 fontSize )

returns an InlineAtlasTexture to draw text


InlineTransform InlineDrawing.getRoot? ()

returns the root transform of this drawing


InlineShader InlineDrawing.getShader? ( in Index index )

returns a shader given an index


InlineShader InlineDrawing.getShader? ( in String name )

returns a shader given a name, or null


Size InlineDrawing.getShaderCount? ()

returns the number of registered shaders


Integer InlineDrawing.getShaderIndex? ( in String name )

returns the index of a shader in the drawing


InlineShape InlineDrawing.getShape? ( in Index index )

returns a shape with a given index, or null


InlineShape InlineDrawing.getShape? ( in String name )

returns a shape with a given name, or null


InlineShapeAdaptor InlineDrawing.getShapeAdaptor? ( in Index index )

returns the shape adaptor of a given index


InlineShapeAdaptor InlineDrawing.getShapeAdaptor? ( in String shapeType )

returns the shape adaptor for a given type


Integer InlineDrawing.getShapeAdaptorIndex? ( in String shapeType )

returns the index of a shape adaptor


Size InlineDrawing.getShapeCount? ()

returns the number of shapes registered


Integer InlineDrawing.getShapeIndex? ( in String name )

returns the index of a shape in the drawing


InlineTexture InlineDrawing.getTexture? ( in Index index )

returns a texture with a given index, or null


InlineTexture InlineDrawing.getTexture? ( in String name )

returns a texture with a given name, or null


InlineTextureAdaptor InlineDrawing.getTextureAdaptor? ( in Index index )

returns the texture adaptor of a given index


InlineTextureAdaptor InlineDrawing.getTextureAdaptor? ( in String textureType )

returns the texture adaptor for a given type


Integer InlineDrawing.getTextureAdaptorIndex? ( in String textureType )

returns the index of a texture adaptor


Size InlineDrawing.getTextureCount? ()

returns the number of textures registered


Integer InlineDrawing.getTextureIndex? ( in String name )

returns the index of a texture in the drawing


InlineTransformAdaptor InlineDrawing.getTransformAdaptor? ( in Index index )

returns the transform adaptor of a given index


InlineTransformAdaptor InlineDrawing.getTransformAdaptor? ( in String transformType )

returns the transform adaptor for a given type


Integer InlineDrawing.getTransformAdaptorIndex? ( in String transformType )

returns the index of a transform adaptor


Viewport InlineDrawing.getViewport? ( in String key )

Returns a known viewport


Boolean InlineDrawing.hasShader? ( in String name )

returns true if a shader with a given name has been registered


Boolean InlineDrawing.hasShape? ( in String name )

returns true if a shape with a given name has been registered


Boolean InlineDrawing.hasTexture? ( in String name )

returns true if a given texture has been registered


InlineDrawing.registerCallback! ( in InlineDrawingCallback callback )

Registers a InlineDrawingCallback


InlineShader InlineDrawing.registerShader! ( in InlineShader shader )

registers a new shader into this drawing


InlineShader InlineDrawing.registerShader! ( in Type shaderType )

registers a new shader of type shaderType into this drawing


InlineShape InlineDrawing.registerShape! ( in InlineShapeBase shape )

registers a new shape into this drawing


InlineDrawing.registerShapeAdaptor! ( in InlineShapeAdaptor adaptor )

registers a new adaptor for shape drawing


InlineTexture InlineDrawing.registerTexture! ( in InlineTexture texture )

registers a new texture into this drawing. the texture should replace an existing texture if name unique is relevant.


InlineDrawing.registerTextureAdaptor! ( in InlineTextureAdaptor adaptor )

registers a new adaptor for texture drawing


InlineDrawing.registerTransformAdaptor! ( in InlineTransformAdaptor adaptor )

registers a new adaptor for shape drawing


InlineDrawing.registerViewport! ( in String key, in Viewport viewport )

Registers a new viewport


Boolean InlineDrawing.unregisterShape! ( in String name )

unregisters this shape from this drawing returns true of successful