Line
Introduction
Line Sample
using Microsoft.Xna.Framework.Graphics;
using FlatRedBall.Math.Geometry;AxisAlignedRectangle rectangle;
Circle circle;
Line line;rectangle = ShapeManager.AddAxisAlignedRectangle();
rectangle.X = 50;
rectangle.Color = Color.Red;
circle = ShapeManager.AddCircle();
circle.X = -50;
circle.Color = Color.Blue;
// Creates a horizontal line of length 2 by default.
line = ShapeManager.AddLine();RelativePoint Properties

Line limitations
Last updated
Was this helpful?
