mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 17:27:08 +08:00
This commit is contained in:
1 parent
19dc79e8e3
commit
a710bc5f41
68 files changed
+2149
-724
No files matched your search
@@ -85,6 +85,12 @@ func (obj *TextObject) UnmarshalXML(decoder *xml.Decoder, start xml.StartElement
|
||||
if attr.Name.Local == "LineWidth" {
|
||||
obj.LineWidthSet = obj.LineWidth == 0
|
||||
}
|
||||
if attr.Name.Local == "MiterLimit" {
|
||||
obj.MiterLimitSet = obj.MiterLimit == 0
|
||||
}
|
||||
if attr.Name.Local == "DashPattern" {
|
||||
obj.dashPatternSet = obj.DashPattern == ""
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
Reference in new issue
Block a user