Table of Contents

Class CompositionCustomVisualHandler

Namespace
Avalonia.Rendering.Composition
Assembly
Avalonia.Base.dll
public abstract class CompositionCustomVisualHandler
Inheritance
CompositionCustomVisualHandler
Inherited Members

Constructors

CompositionCustomVisualHandler()

protected CompositionCustomVisualHandler()

Properties

CompositionNow

protected TimeSpan CompositionNow { get; }

Property Value

TimeSpan

EffectiveSize

protected Vector EffectiveSize { get; }

Property Value

Vector

Methods

GetRenderBounds()

public virtual Rect GetRenderBounds()

Returns

Rect

Invalidate()

protected void Invalidate()

Invalidate(Rect)

protected void Invalidate(Rect rc)

Parameters

rc Rect

OnAnimationFrameUpdate()

public virtual void OnAnimationFrameUpdate()

OnMessage(object)

public virtual void OnMessage(object message)

Parameters

message object

OnRender(ImmediateDrawingContext)

public abstract void OnRender(ImmediateDrawingContext drawingContext)

Parameters

drawingContext ImmediateDrawingContext

RegisterForNextAnimationFrameUpdate()

protected void RegisterForNextAnimationFrameUpdate()

RenderClipContains(Point)

protected bool RenderClipContains(Point pt)

Parameters

pt Point

Returns

bool

RenderClipIntersectes(Rect)

protected bool RenderClipIntersectes(Rect rc)

Parameters

rc Rect

Returns

bool