namespace Rive.Components
{
///
/// This represents an object that can be rendered within a RivePanel.
///
public abstract class RenderObject : IRenderObject
{
///
/// The transform data for the render object. Use this to get or update the position, size, rotation, scale, and pivot of the render object.
///
public RenderTransform RenderTransform { get; set; }
///
/// This should draw the content of the render object to the given frame using the given renderer.
///
/// The renderer to use to draw the content.
/// The frame to draw the content within.
public abstract void DrawContent(IRenderer renderer, AABB frame, RenderContext renderContext);
}
}