public class RendererContext extends java.lang.Object implements IRendererContext
Constructor and Description |
---|
RendererContext(PlatformGraphicsAlgorithm pga,
IDiagramTypeProvider dtp)
Creates a new
RendererContext . |
Modifier and Type | Method and Description |
---|---|
IDiagramTypeProvider |
getDiagramTypeProvider()
Gets the diagram type provider.
|
GraphicsAlgorithm |
getGraphicsAlgorithm()
Returns the graphics algorithm.
|
IMappingProvider |
getMappingProvider()
Gets the mapping provider.
|
PlatformGraphicsAlgorithm |
getPlatformGraphicsAlgorithm()
Gets the platform graphics algorithm.
|
public RendererContext(PlatformGraphicsAlgorithm pga, IDiagramTypeProvider dtp)
RendererContext
.pga
- the platform graphics algorithmdtp
- the diagram type providerpublic IMappingProvider getMappingProvider()
IRendererContext
getMappingProvider
in interface IRendererContext
public PlatformGraphicsAlgorithm getPlatformGraphicsAlgorithm()
IRendererContext
getPlatformGraphicsAlgorithm
in interface IRendererContext
public IDiagramTypeProvider getDiagramTypeProvider()
IDiagramTypeProviderHolder
getDiagramTypeProvider
in interface IDiagramTypeProviderHolder
public GraphicsAlgorithm getGraphicsAlgorithm()
IGraphicsAlgorithmHolder
getGraphicsAlgorithm
in interface IGraphicsAlgorithmHolder