shapes

package
v0.0.0-...-c46cdd7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stretch

type Stretch struct {
	FillRect *dmlct.RelativeRect `xml:"fillRect,omitempty"`
}

func (Stretch) MarshalXML

func (s Stretch) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type Tile

type Tile struct {
	Tx   *int64               `xml:"tx,attr,omitempty"`   // Horizontal Offset
	Ty   *int64               `xml:"ty,attr,omitempty"`   // Vertical Offset
	Sx   *int                 `xml:"sx,attr,omitempty"`   // Horizontal Ratio
	Sy   *int                 `xml:"sy,attr,omitempty"`   // Vertical Ratio
	Flip *dmlst.TileFlipMode  `xml:"flip,attr,omitempty"` // Tile Flipping
	Algn *dmlst.RectAlignment `xml:"algn,attr,omitempty"` // Alignment
}

Tile

func (Tile) MarshalXML

func (t Tile) MarshalXML(e *xml.Encoder, start xml.StartElement) error

MarshalXML marshals the Tile struct into XML.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL