1234567891011121314151617181920212223242526272829303132333435363738394041 |
- package image
- type PosterJson struct {
- Id string `json:"id"`
- Name string `json:"name"`
- Width uint `json:"w"`
- Height uint `json:"h"`
- Use string `json:"use"`
- Background string `json:"bgc"`
- BackgroundUrl string `json:"bgUrl"`
- Type string `json:"type"`
- Quality int `json:"quality"`
- Scale float64 `json:"scale"`
- Key string `json:"key"`
- Items []Items `json:"items"`
- }
- type Items struct {
- Type string `json:"t"`
- Remark string `json:"name"`
- UUID string `json:"uuid"`
- X int `json:"x"`
- Y int `json:"y"`
- Width uint `json:"w"`
- Height uint `json:"h"`
- ZIndex int `json:"z"`
- Angle int `json:"angle"`
- Size int `json:"s"`
- Color string `json:"c"`
- Background string `json:"bgc"`
- Value string `json:"v"`
- Name string `json:"vd"`
- Font string `json:"fn"`
- St int `json:"st"`
- Active bool `json:"active"`
- Lock bool `json:"lock"`
- AspectRatio bool `json:"aspectRatio"`
- P int `json:"p,omitempty"`
- Align *string `json:"a,omitempty"`
- Wrap *bool `json:"wrap,omitempty"`
- Bius *string `json:"bius,omitempty"`
- }
|