Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { Dimensions() primitives.Dimensions Position() primitives.PointF SetPosition(x, y float32) error Draw() error }
type TextSpriteBuilder ¶
type TextSpriteBuilder interface { Get() Interface SetPosition(x, y float32) TextSpriteBuilder }
func FromText ¶
func FromText(text graphics.Text) TextSpriteBuilder
type TextureSpriteBuilder ¶
type TextureSpriteBuilder interface { Get() Interface SetPosition(x, y float32) TextureSpriteBuilder SetSourceRect(sourceRect *primitives.Rectangle) TextureSpriteBuilder }
func FromTexture ¶
func FromTexture(texture graphics.Texture) TextureSpriteBuilder
Click to show internal directories.
Click to hide internal directories.