IPolyClassDrawFilled(ListIPolyClass, Graphics, Color, IPCBIWindow, Int32, Int32, MatrixD, 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> polygonsToDraw,
	Graphics g,
	Color color,
	IPCBIWindow pcbi,
	int ClientWidth,
	int ClientHeight,
	MatrixD matrix,
	IPolyClassFillMode fillMode,
	Color backgroundColor
)

Parameters

polygonsToDraw  ListIPolyClass
List of Polygons to draw filled
g  Graphics
Graphics
color  Color
Fill Color
pcbi  IPCBIWindow
Current window for transformation
ClientWidth  Int32
Width of the Drawing window in PCBI
ClientHeight  Int32
Height of the Drawing window in PCBI
matrix  MatrixD
Additional Matrix for Drawing
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