StreamGeometry.ClearValue () should be how to call? #17858
-
// this is override "Render()" method |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The |
Beta Was this translation helpful? Give feedback.
The
ClearValue(AvaloniaProperty)
your refer to is ofStreamGeometry
's base typeAvaloniaObject
, and is to clear its AvaloniaProperties; not to clear its internal geometry data (is not an avaloniaproperty) -- aStreamGeometry
only hasTransformProperty
you couldClearValue
. It looks like aStreamGeometry
geometry data cannot be changed or cleared after creating it.