Documentation ¶
Overview ¶
Package tiletypeimage provides tile type image builder used for building a small previews of tiles.
Index ¶
- Constants
- type Builder
- func (b *Builder) Corner() *Builder
- func (b *Builder) EastWall() *Builder
- func (b *Builder) Floor() *Builder
- func (b *Builder) NorthDoor() *Builder
- func (b *Builder) NorthWall(filling bool) *Builder
- func (b *Builder) SouthWall() *Builder
- func (b *Builder) WestDoor() *Builder
- func (b *Builder) WestWall(filling bool) *Builder
Constants ¶
View Source
const ( // ImageW - max width of an image ImageW = floorW + wallW // ImageH is a max height of image ImageH = floorH + wallH )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder allows to build a small tile preview depending on its type
func TileTypeImage ¶
TileTypeImage creates a new builder
Click to show internal directories.
Click to hide internal directories.