[]
Represents a figure, text, or image on a Layer.
public class Visual : Space
Gets or sets the associated array of AnchorPoint objects.
Either Contour or AnchorPoints can be assigned at the same time, but not both.
public AnchorPoint[] AnchorPoints { get; set; }
Gets or sets an associated Contour object.
Either Contour or AnchorPoints can be assigned at the same time, but not both.
public Contour Contour { get; set; }
Gets or sets a delegate that accepts a GcGraphics object and a Visual and draws the visual on the graphics.
public Action<GcGraphics, Visual> Draw { get; set; }
Get the height of the associated LayoutRect if any exists, or of the owner LayoutView.
public float Height { get; }
Gets the array of points transformed relative to the associated LayoutRect if any exists, or relative to the owner LayoutView.
public PointF[] Points { get; }
Gets or sets a value indicating whether this Visual is visible.
public bool Visible { get; set; }
public Visual VisualAbove { get; }
public Visual VisualBelow { get; }
Get the width of the associated LayoutRect if any exists, or of the owner LayoutView.
public float Width { get; }
Creates a System.Drawing.RectangleF with the same Width and Height as this Visual.
public RectangleF AsRectF()
public void BringToFront()
public override void Detach()
Moves this Visual to the position on top of the specified visual
.
public void MoveAbove(Visual visual)
visual
VisualMoves this Visual to the position below the specified visual
.
public void MoveBelow(Visual visual)
visual
Visualpublic void SendToBack()