IPolyClassDrawFilled(ListIPolyClass, Graphics, MatrixD, Int32, Int32, IPolyClassFillMode, Color) Method

Draws the List of Polygons filled on the given Graphics by using the current World-Client transformation of the IPCBIWindow.

Definition

Namespace: PCBI.MathUtils
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public static bool DrawFilled(
	List<IPolyClass> polygonsToDrawWithColor,
	Graphics g,
	MatrixD matrix,
	int ClientWidth,
	int ClientHeight,
	IPolyClassFillMode fillMode,
	Color backgroundColor
)

Parameters

polygonsToDrawWithColor  ListIPolyClass
List of Polygons to draw filled, each with color set
g  Graphics
Graphics
matrix  MatrixD
Transformation Matrix for all polygons
ClientWidth  Int32
Width of the Drawing window in PCBI
ClientHeight  Int32
Height of the Drawing window in PCBI
fillMode  IPolyClassFillMode
Mode how/which pixel inside the polygon are set/changed
backgroundColor  Color
Background color of the internal image, that is drawn onto the graphics

Return Value

Boolean

See Also