ITransformedGeometryImpl Interface

Represents a geometry with a transform applied.

Definition

Namespace: Avalonia.Platform
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
[UnstableAttribute]
public interface ITransformedGeometryImpl : IGeometryImpl
Implements
IGeometryImpl

Remarks

An ITransformedGeometryImpl transforms a geometry without transforming its stroke thickness.

Properties

Bounds Gets the geometry's bounding rectangle.
(Inherited from IGeometryImpl)
ContourLength Gets the geometry's total length as if all its contours are placed in a straight line.
(Inherited from IGeometryImpl)
SourceGeometry Gets the source geometry that the Transform is applied to.
Transform Gets the applied transform.

Methods

FillContains(Point) Indicates whether the geometry's fill contains the specified point.
(Inherited from IGeometryImpl)
GetRenderBounds(IPen) Gets the geometry's bounding rectangle with the specified pen.
(Inherited from IGeometryImpl)
GetWidenedGeometry(IPen) Gets a geometry that is the shape defined by the stroke on the geometry produced by the specified Pen.
(Inherited from IGeometryImpl)
Intersect(IGeometryImpl) Intersects the geometry with another geometry.
(Inherited from IGeometryImpl)
StrokeContains(IPen, Point) Indicates whether the geometry's stroke contains the specified point.
(Inherited from IGeometryImpl)
TryGetPointAndTangentAtDistance(Double, Point, Point) Attempts to get the corresponding point and tangent from the specified distance along the contour of the geometry.
(Inherited from IGeometryImpl)
TryGetPointAtDistance(Double, Point) Attempts to get the corresponding point at the specified distance
(Inherited from IGeometryImpl)
TryGetSegment(Double, Double, Boolean, IGeometryImpl) Attempts to get the corresponding path segment given by the two distances specified. Imagine it like snipping a part of the current geometry.
(Inherited from IGeometryImpl)
WithTransform(Matrix) Makes a clone of the geometry with the specified transform.
(Inherited from IGeometryImpl)

See Also