public void Render(CanvasDrawingSession session, bool renderControls) { #if DRAW_OUTLINE session.DrawRectangle(RenderBounds.ToRect(), Colors.Green); if (Parent != null) { session.DrawRectangle(RenderBoundsWithParent.ToRect(), Colors.Blue); } #endif bodyGeometry.Render(this, session, Resources.FindColor(Node), renderControls); }
public void Render(CanvasDrawingSession session) { geometry.Render(this, session, Resources.FindColor(Node), false); }