mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-08-30 12:12:40 +08:00
feat(渲染注释): 渲染注释,可配置不渲染
This commit is contained in:
@@ -88,6 +88,8 @@ type TextObject struct {
|
||||
HScale float64 `xml:"HScale,attr"`
|
||||
VScale float64 `xml:"VScale,attr"`
|
||||
CTM string `xml:"CTM,attr"`
|
||||
Alpha *int `xml:"Alpha,attr"`
|
||||
Visible *bool `xml:"Visible,attr"`
|
||||
Fill *bool `xml:"Fill,attr"`
|
||||
Stroke *bool `xml:"Stroke,attr"`
|
||||
StrokeColor *StrokeColor `xml:"StrokeColor"`
|
||||
@@ -135,6 +137,8 @@ type PathObject struct {
|
||||
DashPattern string `xml:"DashPattern,attr"`
|
||||
MiterLimit float64 `xml:"MiterLimit,attr"`
|
||||
CTM string `xml:"CTM,attr"`
|
||||
Alpha *int `xml:"Alpha,attr"`
|
||||
Visible *bool `xml:"Visible,attr"`
|
||||
Stroke *bool `xml:"Stroke,attr"`
|
||||
Fill *bool `xml:"Fill,attr"`
|
||||
StrokeColor *StrokeColor `xml:"StrokeColor"`
|
||||
@@ -187,5 +191,7 @@ type ImageObject struct {
|
||||
Boundary string `xml:"Boundary,attr"`
|
||||
ResourceID string `xml:"ResourceID,attr"`
|
||||
CTM string `xml:"CTM,attr"`
|
||||
Alpha *int `xml:"Alpha,attr"`
|
||||
Visible *bool `xml:"Visible,attr"`
|
||||
Clips *Clips `xml:"Clips"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user