We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3efa867 commit df64dd3Copy full SHA for df64dd3
Source/Painting/SvgPatternServer.cs
@@ -140,6 +140,24 @@ private Matrix EffectivePatternTransform
140
}
141
142
143
+ /// <summary>
144
+ /// Check if <see cref="PatternUnits"/> property value was set.
145
+ /// </summary>
146
+ /// <returns>True if <see cref="PatternUnits"/> has value.</returns>
147
+ public bool HasPatternUnits()
148
+ {
149
+ return _patternUnits.HasValue;
150
+ }
151
+
152
153
+ /// Check if <see cref="PatternContentUnits"/> property value was set.
154
155
+ /// <returns>True if <see cref="PatternContentUnits"/> has value.</returns>
156
+ public bool HasPatternContentUnits()
157
158
+ return _patternContentUnits.HasValue;
159
160
161
/// <summary>
162
/// Gets a <see cref="Brush"/> representing the current paint server.
163
/// </summary>
0 commit comments