mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 17:27:08 +08:00
This commit is contained in:
1 parent
bed08b2c4b
commit
0d83cabecc
8 files changed
+133
-32
No files matched your search
+21
-10
@@ -22,7 +22,7 @@ type PageContent struct {
|
||||
ID string `xml:"-"`
|
||||
Area PageArea `xml:"Area"`
|
||||
Template []Template `xml:"Template"`
|
||||
PageRes string `xml:"PageRes"`
|
||||
PageRes []string `xml:"PageRes"`
|
||||
Content Content `xml:"Content"`
|
||||
Actions []Action `xml:"Actions>Action"`
|
||||
}
|
||||
@@ -225,13 +225,24 @@ type ShdColor struct {
|
||||
|
||||
// ImageObject 图片对象
|
||||
type ImageObject struct {
|
||||
ID string `xml:"ID,attr"`
|
||||
Boundary string `xml:"Boundary,attr"`
|
||||
ResourceID string `xml:"ResourceID,attr"`
|
||||
ImageMask string `xml:"ImageMask,attr"`
|
||||
CTM string `xml:"CTM,attr"`
|
||||
Alpha *int `xml:"Alpha,attr"`
|
||||
Visible *bool `xml:"Visible,attr"`
|
||||
Clips *Clips `xml:"Clips"`
|
||||
Actions []Action `xml:"Actions>Action"`
|
||||
ID string `xml:"ID,attr"`
|
||||
Boundary string `xml:"Boundary,attr"`
|
||||
ResourceID string `xml:"ResourceID,attr"`
|
||||
ImageMask string `xml:"ImageMask,attr"`
|
||||
CTM string `xml:"CTM,attr"`
|
||||
Alpha *int `xml:"Alpha,attr"`
|
||||
Visible *bool `xml:"Visible,attr"`
|
||||
Border *ImageBorder `xml:"Border"`
|
||||
Clips *Clips `xml:"Clips"`
|
||||
Actions []Action `xml:"Actions>Action"`
|
||||
}
|
||||
|
||||
// ImageBorder 图像边框
|
||||
type ImageBorder struct {
|
||||
LineWidth *float64 `xml:"LineWidth,attr"`
|
||||
HorizonalCornerRadius float64 `xml:"HorizonalCornerRadius,attr"`
|
||||
VerticalCornerRadius float64 `xml:"VerticalCornerRadius,attr"`
|
||||
DashOffset float64 `xml:"DashOffset,attr"`
|
||||
DashPattern string `xml:"DashPattern,attr"`
|
||||
BorderColor *StrokeColor `xml:"BorderColor"`
|
||||
}
|
||||
Reference in new issue
Block a user