LinePrimitive
LinePrimitive is actually a variation of a filled rectangle. The shadow of the fill is set by the BackColor, BackColor2, BackColor3 and BackColor4 properties. The way these four colors are used is determined by the GradientStyle and GradientAngle properties. The LineWidth sets the thickness of the line. Some GradientStyle settings will not be visible if the LineWidth is too narrow. The example below iterates the possible GradientStyle values and creates a LinePrimitive for each. The LinePrimitives each have a LineWidth of 10, making it easier to see the GradientStyle effect. The AngleTransform property is used to spin the line 30 degrees.