Skip to content

DiGi.Geometry.Drawing

github-actions[bot] edited this page Jul 15, 2026 · 2 revisions

DiGi.Geometry.Drawing Namespace

Classes

Modify Class

public static class Modify

Inheritance System.Object → Modify

Methods

Modify.Draw(this Graphics, Pen, IPolygonal2D, bool) Method

Draws the specified polygonal 2D object using the provided pen and fill settings.

public static void Draw(this System.Drawing.Graphics? graphics, DiGi.Core.Drawing.Classes.Pen? pen, DiGi.Geometry.Planar.Interfaces.IPolygonal2D polygonal2D, bool fill);

Parameters

graphics System.Drawing.Graphics

The System.Drawing.Graphics instance used for drawing.

pen DiGi.Core.Drawing.Classes.Pen

The DiGi.Core.Drawing.Classes.Pen that defines the drawing style.

polygonal2D DiGi.Geometry.Planar.Interfaces.IPolygonal2D

The DiGi.Geometry.Planar.Interfaces.IPolygonal2D object to draw.

fill System.Boolean

A System.Boolean value indicating whether the interior of the polygonal 2D object should be filled.

Modify.Draw(this Graphics, BoundingBox2D, Pen, bool) Method

Draws a 2D bounding box using the specified pen and fill settings.

public static void Draw(this System.Drawing.Graphics? graphics, DiGi.Geometry.Planar.Classes.BoundingBox2D? boundingBox2D, DiGi.Core.Drawing.Classes.Pen pen, bool fill);

Parameters

graphics System.Drawing.Graphics

The System.Drawing.Graphics object used for drawing.

boundingBox2D DiGi.Geometry.Planar.Classes.BoundingBox2D

The DiGi.Geometry.Planar.Classes.BoundingBox2D to be drawn.

pen DiGi.Core.Drawing.Classes.Pen

The DiGi.Core.Drawing.Classes.Pen that defines the line style and color.

fill System.Boolean

A System.Boolean value indicating whether the interior of the bounding box should be filled.

Modify.Draw(this Graphics, BoundingBox2D, Pen, bool) Method

Draws a DiGi.Geometry.Planar.Classes.BoundingBox2D using the specified System.Drawing.Graphics object and System.Drawing.Pen.

public static void Draw(this System.Drawing.Graphics? graphics, DiGi.Geometry.Planar.Classes.BoundingBox2D? boundingBox2D, System.Drawing.Pen? pen, bool fill);

Parameters

graphics System.Drawing.Graphics

The System.Drawing.Graphics object used for drawing.

boundingBox2D DiGi.Geometry.Planar.Classes.BoundingBox2D

The DiGi.Geometry.Planar.Classes.BoundingBox2D to be drawn.

pen System.Drawing.Pen

The System.Drawing.Pen used for the drawing operation.

fill System.Boolean

A System.Boolean value indicating whether the bounding box should be filled.

Modify.Draw(this Graphics, Mesh2D, Pen, bool) Method

Draws a DiGi.Geometry.Planar.Classes.Mesh2D using the specified DiGi.Core.Drawing.Classes.Pen.

public static void Draw(this System.Drawing.Graphics? graphics, DiGi.Geometry.Planar.Classes.Mesh2D? mesh2D, DiGi.Core.Drawing.Classes.Pen? pen, bool fill);

Parameters

graphics System.Drawing.Graphics

The System.Drawing.Graphics object used for drawing.

mesh2D DiGi.Geometry.Planar.Classes.Mesh2D

The DiGi.Geometry.Planar.Classes.Mesh2D object to be drawn.

pen DiGi.Core.Drawing.Classes.Pen

The DiGi.Core.Drawing.Classes.Pen used to define the style of the drawing.

fill System.Boolean

A System.Boolean value indicating whether the mesh should be filled.

Modify.Draw(this Graphics, Mesh2D, Pen, bool) Method

Draws a DiGi.Geometry.Planar.Classes.Mesh2D using the specified System.Drawing.Graphics context, System.Drawing.Pen, and fill option.

public static void Draw(this System.Drawing.Graphics? graphics, DiGi.Geometry.Planar.Classes.Mesh2D? mesh2D, System.Drawing.Pen? pen, bool fill);

Parameters

graphics System.Drawing.Graphics

The System.Drawing.Graphics object used for drawing.

mesh2D DiGi.Geometry.Planar.Classes.Mesh2D

The DiGi.Geometry.Planar.Classes.Mesh2D object to be drawn.

pen System.Drawing.Pen

The System.Drawing.Pen object used for the drawing style and color.

fill System.Boolean

A System.Boolean value indicating whether the mesh should be filled.

Modify.Draw(this Graphics, Point2D, Pen, bool) Method

Draws a DiGi.Geometry.Planar.Classes.Point2D using the specified DiGi.Core.Drawing.Classes.Pen and fill setting on the provided System.Drawing.Graphics object.

public static void Draw(this System.Drawing.Graphics? graphics, DiGi.Geometry.Planar.Classes.Point2D? point2D, DiGi.Core.Drawing.Classes.Pen? pen, bool fill);

Parameters

graphics System.Drawing.Graphics

The System.Drawing.Graphics instance used for drawing operations.

point2D DiGi.Geometry.Planar.Classes.Point2D

The DiGi.Geometry.Planar.Classes.Point2D to be drawn.

pen DiGi.Core.Drawing.Classes.Pen

The DiGi.Core.Drawing.Classes.Pen that defines the drawing style.

fill System.Boolean

A System.Boolean value indicating whether the point should be filled.

Modify.Draw(this Graphics, Point2D, Pen, bool) Method

Draws an ellipse at the specified point using the provided pen, with an option to fill it.

public static void Draw(this System.Drawing.Graphics? graphics, DiGi.Geometry.Planar.Classes.Point2D? point2D, System.Drawing.Pen? pen, bool fill);

Parameters

graphics System.Drawing.Graphics

The System.Drawing.Graphics object used for drawing.

point2D DiGi.Geometry.Planar.Classes.Point2D

The DiGi.Geometry.Planar.Classes.Point2D coordinates where the ellipse will be drawn.

pen System.Drawing.Pen

The System.Drawing.Pen that defines the color and width of the ellipse.

fill System.Boolean

A System.Boolean value indicating whether to fill the interior of the ellipse.

Modify.Draw(this Graphics, Segment2D, Pen) Method

Draws a DiGi.Geometry.Planar.Classes.Segment2D using the specified System.Drawing.Graphics object and DiGi.Core.Drawing.Classes.Pen.

public static void Draw(this System.Drawing.Graphics? graphics, DiGi.Geometry.Planar.Classes.Segment2D? segment2D, DiGi.Core.Drawing.Classes.Pen pen);

Parameters

graphics System.Drawing.Graphics

The System.Drawing.Graphics object used for drawing.

segment2D DiGi.Geometry.Planar.Classes.Segment2D

The DiGi.Geometry.Planar.Classes.Segment2D to be drawn.

pen DiGi.Core.Drawing.Classes.Pen

The DiGi.Core.Drawing.Classes.Pen that defines the style of the line.

Modify.Draw(this Graphics, Segment2D, Pen) Method

Draws a DiGi.Geometry.Planar.Classes.Segment2D using the specified System.Drawing.Graphics context and System.Drawing.Pen.

public static void Draw(this System.Drawing.Graphics? graphics, DiGi.Geometry.Planar.Classes.Segment2D? segment2D, System.Drawing.Pen? pen);

Parameters

graphics System.Drawing.Graphics

The System.Drawing.Graphics object used for drawing.

segment2D DiGi.Geometry.Planar.Classes.Segment2D

The DiGi.Geometry.Planar.Classes.Segment2D object representing the line segment to be drawn.

pen System.Drawing.Pen

The System.Drawing.Pen object used to define the color and width of the line.

Modify.Draw(this Graphics, IPolygonal2D, Pen, bool) Method

Draws a polygonal 2D shape on the specified graphics surface.

public static void Draw(this System.Drawing.Graphics? graphics, DiGi.Geometry.Planar.Interfaces.IPolygonal2D? polygonal2D, System.Drawing.Pen? pen, bool fill);

Parameters

graphics System.Drawing.Graphics

The System.Drawing.Graphics object used for drawing.

polygonal2D DiGi.Geometry.Planar.Interfaces.IPolygonal2D

The DiGi.Geometry.Planar.Interfaces.IPolygonal2D object that defines the polygon to be drawn.

pen System.Drawing.Pen

The System.Drawing.Pen object used to draw the outline of the polygon.

fill System.Boolean

A System.Boolean value indicating whether the interior of the polygon should be filled.

Modify.Draw(this Graphics, IPolygonalFace2D, Pen, bool) Method

Draws the specified DiGi.Geometry.Planar.Interfaces.IPolygonalFace2D on the provided System.Drawing.Graphics surface using the specified System.Drawing.Pen.

public static void Draw(this System.Drawing.Graphics? graphics, DiGi.Geometry.Planar.Interfaces.IPolygonalFace2D? polygonalFace2D, System.Drawing.Pen? pen, bool fill);

Parameters

graphics System.Drawing.Graphics

The System.Drawing.Graphics object used for drawing.

polygonalFace2D DiGi.Geometry.Planar.Interfaces.IPolygonalFace2D

The DiGi.Geometry.Planar.Interfaces.IPolygonalFace2D instance to be drawn.

pen System.Drawing.Pen

The System.Drawing.Pen used to draw the outline of the polygonal face.

fill System.Boolean

A System.Boolean value indicating whether the interior of the polygonal face should be filled.

Clone this wiki locally