Browse Source
Merge pull request #8439 from pr8x/fix-nullable-path-intersect
Make `IGeometryImpl.Intersect` nullable
composition/license
Max Katz
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
src/Avalonia.Base/Platform/IGeometryImpl.cs
|
|
|
@ -38,8 +38,8 @@ namespace Avalonia.Platform |
|
|
|
/// Intersects the geometry with another geometry.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="geometry">The other geometry.</param>
|
|
|
|
/// <returns>A new <see cref="IGeometryImpl"/> representing the intersection.</returns>
|
|
|
|
IGeometryImpl Intersect(IGeometryImpl geometry); |
|
|
|
/// <returns>A new <see cref="IGeometryImpl"/> representing the intersection or <c>null</c> when the operation failed.</returns>
|
|
|
|
IGeometryImpl? Intersect(IGeometryImpl geometry); |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Indicates whether the geometry's stroke contains the specified point.
|
|
|
|
|