mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 17:27:08 +08:00
This commit is contained in:
1 parent
6c9b3f6019
commit
777d0c7c89
8 files changed
+253
-178
No files matched your search
@@ -194,10 +194,10 @@ func (r *Renderer) drawParamDefaults(id string, defaultFill, defaultStroke color
|
||||
defaultLW = dp.LineWidth
|
||||
}
|
||||
if dp.FillColor != nil {
|
||||
defaultFill = parseFillColor(dp.FillColor)
|
||||
defaultFill = r.parseFillColor(dp.FillColor)
|
||||
}
|
||||
if dp.StrokeColor != nil {
|
||||
defaultStroke = parseStrokeColor(dp.StrokeColor)
|
||||
defaultStroke = r.parseStrokeColor(dp.StrokeColor)
|
||||
}
|
||||
return defaultFill, defaultStroke, defaultLW
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user