public struct DiscF
Represents a circular disc with a slab thickness.

Constructors

DiscF

#
public DiscF(CircleF apex, float thickness)
Create a new disc.
apex (CircleF)Top apex face.
thickness (float)Slab thickness.

Properties

Apex

#
public CircleF Apex { get; }
Gets the top face of the disc.

ApexPath

#
public GraphicsPath ApexPath { get; }
Gets the graphics path for the apex face.

Bounds

#
public RectangleF Bounds { get; }
Gets the bounds for the entire disc.

EdgePath

#
public GraphicsPath EdgePath { get; }
Gets the graphics path for the edge curve.

FormPath

#
public GraphicsPath FormPath { get; }
Gets the graphics path for the entire shape.

SidePath

#
public GraphicsPath SidePath { get; }
Gets the graphics path for the side face.

Thickness

#
public float Thickness { get; }
Gets the thickness of the disc.

Methods

Contains

#
public bool Contains(PointF point)
Determine whether the disc contains the given point.
point (PointF)

Move

#
public DiscF Move(float dx, float dy)
dx (float)
dy (float)

MoveTo

#
public DiscF MoveTo(PointF centre)
centre (PointF)

VertexAt

#
public PointF VertexAt(DiscVertex vertex)
Gets the vertex location.
vertex (DiscVertex)