Documentation ¶
Index ¶
- Variables
- type OrthogonalRendererEngine
- func (e *OrthogonalRendererEngine) GetFinalImageSize() image.Rectangle
- func (e *OrthogonalRendererEngine) GetTilePosition(x, y int) image.Rectangle
- func (e *OrthogonalRendererEngine) Init(m *tiled.Map)
- func (e *OrthogonalRendererEngine) RotateTileImage(tile *tiled.LayerTile, img image.Image) image.Image
- type Renderer
- type RendererEngine
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnsupportedOrientation = errors.New("tiled/render: unsupported orientation") ErrUnsupportedRenderOrder = errors.New("tiled/render: unsupported render order") )
Functions ¶
This section is empty.
Types ¶
type OrthogonalRendererEngine ¶
type OrthogonalRendererEngine struct {
// contains filtered or unexported fields
}
func (*OrthogonalRendererEngine) GetFinalImageSize ¶
func (e *OrthogonalRendererEngine) GetFinalImageSize() image.Rectangle
func (*OrthogonalRendererEngine) GetTilePosition ¶
func (e *OrthogonalRendererEngine) GetTilePosition(x, y int) image.Rectangle
func (*OrthogonalRendererEngine) Init ¶
func (e *OrthogonalRendererEngine) Init(m *tiled.Map)
func (*OrthogonalRendererEngine) RotateTileImage ¶
type Renderer ¶
type Renderer struct {
// contains filtered or unexported fields
}
func NewRenderer ¶
func (*Renderer) RenderLayer ¶
func (*Renderer) RenderVisibleLayers ¶
func (*Renderer) SaveAsJpeg ¶
Click to show internal directories.
Click to hide internal directories.