InterfaceSurfaceSpecificsD Methods

Methods

AddArc Add an new outline arc segment to the subpolygon.
AddLine Add an new outline line segment to the subpolygon.
AddSurface(InterfaceSurfaceSpecificsD) Combine the current surface with the SurfaceToAdd.
AddSurface(ISurfaceSpecificsD) Combine the current surface with the SurfaceToAdd.
CleanUp Remove small line and arc elements
ClearSurface Clear all elements from the surface and all subpolygons.
Clone Clone this object with all members and properties.
(Inherited from InterfaceObjectSpecificsD)
EndPolygon Closes the sub polygon, be careful by using this action. If the polygon has gabs, it try to close it. It works on the main surface if you change something it has direct effects on the main surface.
GetBounds Returns the surface bounds or empty rectangle if no subpolygons in the surface.
GetGraphicsPath Creates the Graphics Path of the surface.
GetIPolyClass IPolyClass of the defined outline or null if the elements is empty.
GetOutline Creates a List of IODBObjects for the outline of the surface. It containes all objects in the coord list with holes and outline elements!
GetOutlineLists Creates a list of outline elements, if there are more than one object (e.g. holes) they will be seperated in different lists.
GetPolygonOutlineD Create a List of IPolygonSpecificsD, who represent all isle and holes of the surface.
IsPointInsideSurface Returns true if the point is inside of the surface (1 Isle and 0 or more Holes)
MirrorX Mirror the surface including all subelements in X
MirrorY Mirror the surface including all subelements in Y
Rotate Rotate the surface including all subelements
Scale Scale the surface including all subelements
SetOffset Offset for all subelements of this surface specifics.
SplitInIsleAndHoles(InterfacePCBIWindow, Boolean, Boolean) Check all subpolygons for holes and isles, make a list of new surfaces for each isle with own holes.
SplitInIsleAndHoles(IPCBIWindow, Boolean, Boolean) Check all subpolygons for holes and isles, make a list of new surfaces for each isle with own holes.
StartPolygon For each part of the surface there are a polygon, the first polygon can't be a hole.
Transform Move and rotate the surface.

See Also