Interface ICustomDrawOperation
- Namespace
- Avalonia.Rendering.SceneGraph
- Assembly
- Avalonia.Base.dll
public interface ICustomDrawOperation : IEquatable<ICustomDrawOperation>, IDisposable
- Inherited Members
Properties
Bounds
Gets the bounds of the visible content in the node in global coordinates.
Rect Bounds { get; }
Property Value
Methods
HitTest(Point)
Hit test the geometry in this node.
bool HitTest(Point p)
Parameters
p
PointThe point in global coordinates.
Returns
- bool
True if the point hits the node's geometry; otherwise false.
Remarks
This method does not recurse to childs, if you want to hit test children they must be hit tested manually.
Render(ImmediateDrawingContext)
Renders the node to a drawing context.
void Render(ImmediateDrawingContext context)
Parameters
context
ImmediateDrawingContextThe drawing context.