接口 RendererFactory
public interface RendererFactory
Abstract Factory interface for creating renderers.
This is part of the Abstract Factory pattern.
-
方法概要
-
方法详细资料
-
createRenderer
Create a renderer with the specified dimensions- 参数:
width
- the width of the rendering areaheight
- the height of the rendering area- 返回:
- a new Renderer instance
-