KiCad Pcbnew Python Scripting
Loading...
Searching...
No Matches
pcbnew.EDA_SHAPE Class Reference
Inheritance diagram for pcbnew.EDA_SHAPE:

Public Member Functions

 __init__ (self, *args)
 
 SwapShape (self, aImage)
 
 Serialize (self, *args)
 
 Deserialize (self, *args)
 
 ShowShape (self)
 
 SHAPE_T_asString (self)
 
 IsProxyItem (self)
 
 SetIsProxyItem (self, aIsProxy=True)
 
 IsAnyFill (self)
 
 IsSolidFill (self)
 
 IsHatchedFill (self)
 
 IsFilledForHitTesting (self)
 
 SetFilled (self, aFlag)
 
 SetFillMode (self, aFill)
 
 GetFillMode (self)
 
 SetFillModeProp (self, arg2)
 
 GetFillModeProp (self)
 
 SetHatchingDirty (self)
 
 GetHatching (self)
 
 GetHatchLines (self)
 
 IsClosed (self)
 
 GetFillColor (self)
 
 SetFillColor (self, aColor)
 
 SetWidth (self, aWidth)
 
 GetWidth (self)
 
 GetEffectiveWidth (self)
 
 GetHatchLineWidth (self)
 
 GetHatchLineSpacing (self)
 
 SetLineStyle (self, aStyle)
 
 GetLineStyle (self)
 
 SetLineColor (self, aColor)
 
 GetLineColor (self)
 
 SetShape (self, aShape)
 
 GetShape (self)
 
 GetStart (self)
 
 GetStartY (self)
 
 GetStartX (self)
 
 SetStart (self, aStart)
 
 SetStartY (self, y)
 
 SetStartX (self, x)
 
 SetCenterY (self, y)
 
 SetCenterX (self, x)
 
 GetEnd (self)
 
 GetEndY (self)
 
 GetEndX (self)
 
 SetEnd (self, aEnd)
 
 SetEndY (self, aY)
 
 SetEndX (self, aX)
 
 SetRadius (self, aX)
 
 GetTopLeft (self)
 
 GetBotRight (self)
 
 SetTop (self, val)
 
 SetLeft (self, val)
 
 SetRight (self, val)
 
 SetBottom (self, val)
 
 SetBezierC1 (self, aPt)
 
 GetBezierC1 (self)
 
 SetBezierC2 (self, aPt)
 
 GetBezierC2 (self)
 
 SetCenter (self, aCenter)
 
 SetArcAngleAndEnd (self, aAngle, aCheckNegativeAngle=False)
 
 SetArcAngle (self, aAngle)
 
 GetArcAngle (self)
 
 GetSegmentAngle (self)
 
 EndsSwapped (self)
 
 GetArcMid (self)
 
 GetRectCorners (self)
 
 GetCornersInSequence (self, angle)
 
 CalcArcAngles (self, aStartAngle, aEndAngle)
 
 GetRadius (self)
 
 SetArcGeometry (self, aStart, aMid, aEnd)
 
 SetCachedArcData (self, aStart, aMid, aEnd, aCenter)
 
 GetBezierPoints (self)
 
 GetPolyPoints (self)
 
 GetPointCount (self)
 
 GetPolyShape (self, *args)
 
 IsPolyShapeValid (self)
 
 SetPolyShape (self, aShape)
 
 SetPolyPoints (self, aPoints)
 
 RebuildBezierToSegmentsPointsList (self, aMaxError)
 
 MakeEffectiveShapes (self, aEdgeOnly=False)
 
 MakeEffectiveShapesForHitTesting (self)
 
 MakeEffectiveShapesForStroking (self)
 
 ShapeGetMsgPanelInfo (self, aFrame, aList)
 
 SetRectangleHeight (self, aHeight)
 
 SetRectangleWidth (self, aWidth)
 
 SetRectangle (self, aHeight, aWidth)
 
 SetCornerRadius (self, aRadius)
 
 GetCornerRadius (self)
 
 IsClockwiseArc (self)
 
 GetLength (self)
 
 GetRectangleHeight (self)
 
 GetRectangleWidth (self)
 
 UpdateHatching (self)
 
 TransformShapeToPolygon (self, aBuffer, aClearance, aError, aErrorLoc, ignoreLineWidth=False, includeFill=False)
 
 Compare (self, aOther)
 
 Similarity (self, aOther)
 
 __eq__ (self, aOther)
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 

Detailed Description

Proxy of C++ EDA_SHAPE class.

Definition at line 17973 of file pcbnew.py.

Constructor & Destructor Documentation

◆ __init__()

pcbnew.EDA_SHAPE.__init__ ( self,
* args )
    __init__(EDA_SHAPE self, SHAPE_T aType, int aLineWidth, FILL_T aFill) -> EDA_SHAPE
    __init__(EDA_SHAPE self, SHAPE aShape) -> EDA_SHAPE
    __init__(EDA_SHAPE self, EDA_SHAPE aOther) -> EDA_SHAPE
    __init__(EDA_SHAPE self, EDA_SHAPE arg2) -> EDA_SHAPE

Definition at line 17979 of file pcbnew.py.

Member Function Documentation

◆ __eq__()

pcbnew.EDA_SHAPE.__eq__ ( self,
aOther )
__eq__(EDA_SHAPE self, EDA_SHAPE aOther) -> bool

Definition at line 18382 of file pcbnew.py.

◆ CalcArcAngles()

pcbnew.EDA_SHAPE.CalcArcAngles ( self,
aStartAngle,
aEndAngle )
CalcArcAngles(EDA_SHAPE self, EDA_ANGLE aStartAngle, EDA_ANGLE aEndAngle)

Definition at line 18263 of file pcbnew.py.

◆ Compare()

pcbnew.EDA_SHAPE.Compare ( self,
aOther )
Compare(EDA_SHAPE self, EDA_SHAPE aOther) -> int

Definition at line 18374 of file pcbnew.py.

◆ Deserialize()

pcbnew.EDA_SHAPE.Deserialize ( self,
* args )
    Deserialize(EDA_SHAPE self, google::protobuf::Any const & aContainer) -> bool
    Deserialize(EDA_SHAPE self, kiapi::common::types::GraphicShape const & aInput) -> bool

Reimplemented in pcbnew.PCB_SHAPE, and pcbnew.PCB_TEXTBOX.

Definition at line 18000 of file pcbnew.py.

◆ EndsSwapped()

pcbnew.EDA_SHAPE.EndsSwapped ( self)
EndsSwapped(EDA_SHAPE self) -> bool

Definition at line 18247 of file pcbnew.py.

◆ GetArcAngle()

pcbnew.EDA_SHAPE.GetArcAngle ( self)
GetArcAngle(EDA_SHAPE self) -> EDA_ANGLE

Definition at line 18239 of file pcbnew.py.

◆ GetArcMid()

pcbnew.EDA_SHAPE.GetArcMid ( self)
GetArcMid(EDA_SHAPE self) -> VECTOR2I

Definition at line 18251 of file pcbnew.py.

◆ GetBezierC1()

pcbnew.EDA_SHAPE.GetBezierC1 ( self)
GetBezierC1(EDA_SHAPE self) -> VECTOR2I

Definition at line 18215 of file pcbnew.py.

◆ GetBezierC2()

pcbnew.EDA_SHAPE.GetBezierC2 ( self)
GetBezierC2(EDA_SHAPE self) -> VECTOR2I

Definition at line 18223 of file pcbnew.py.

◆ GetBezierPoints()

pcbnew.EDA_SHAPE.GetBezierPoints ( self)
GetBezierPoints(EDA_SHAPE self) -> VECTOR_VECTOR2I

Definition at line 18279 of file pcbnew.py.

◆ GetBotRight()

pcbnew.EDA_SHAPE.GetBotRight ( self)
GetBotRight(EDA_SHAPE self) -> VECTOR2I

Definition at line 18191 of file pcbnew.py.

◆ GetCornerRadius()

pcbnew.EDA_SHAPE.GetCornerRadius ( self)
GetCornerRadius(EDA_SHAPE self) -> int

Definition at line 18346 of file pcbnew.py.

◆ GetCornersInSequence()

pcbnew.EDA_SHAPE.GetCornersInSequence ( self,
angle )
GetCornersInSequence(EDA_SHAPE self, EDA_ANGLE angle) -> VECTOR_VECTOR2I

Definition at line 18259 of file pcbnew.py.

◆ GetEffectiveWidth()

pcbnew.EDA_SHAPE.GetEffectiveWidth ( self)
GetEffectiveWidth(EDA_SHAPE self) -> int

Definition at line 18091 of file pcbnew.py.

◆ GetEnd()

pcbnew.EDA_SHAPE.GetEnd ( self)
GetEnd(EDA_SHAPE self) -> VECTOR2I

Definition at line 18159 of file pcbnew.py.

◆ GetEndX()

pcbnew.EDA_SHAPE.GetEndX ( self)
GetEndX(EDA_SHAPE self) -> int

Definition at line 18167 of file pcbnew.py.

◆ GetEndY()

pcbnew.EDA_SHAPE.GetEndY ( self)
GetEndY(EDA_SHAPE self) -> int

Definition at line 18163 of file pcbnew.py.

◆ GetFillColor()

pcbnew.EDA_SHAPE.GetFillColor ( self)
GetFillColor(EDA_SHAPE self) -> COLOR4D

Definition at line 18075 of file pcbnew.py.

◆ GetFillMode()

pcbnew.EDA_SHAPE.GetFillMode ( self)
GetFillMode(EDA_SHAPE self) -> FILL_T

Definition at line 18047 of file pcbnew.py.

◆ GetFillModeProp()

pcbnew.EDA_SHAPE.GetFillModeProp ( self)
GetFillModeProp(EDA_SHAPE self) -> UI_FILL_MODE

Definition at line 18055 of file pcbnew.py.

◆ GetHatching()

pcbnew.EDA_SHAPE.GetHatching ( self)
GetHatching(EDA_SHAPE self) -> SHAPE_POLY_SET

Definition at line 18063 of file pcbnew.py.

◆ GetHatchLines()

pcbnew.EDA_SHAPE.GetHatchLines ( self)
GetHatchLines(EDA_SHAPE self) -> std::vector< SEG,std::allocator< SEG > > const &

Definition at line 18067 of file pcbnew.py.

◆ GetHatchLineSpacing()

pcbnew.EDA_SHAPE.GetHatchLineSpacing ( self)
GetHatchLineSpacing(EDA_SHAPE self) -> int

Definition at line 18099 of file pcbnew.py.

◆ GetHatchLineWidth()

pcbnew.EDA_SHAPE.GetHatchLineWidth ( self)
GetHatchLineWidth(EDA_SHAPE self) -> int

Definition at line 18095 of file pcbnew.py.

◆ GetLength()

pcbnew.EDA_SHAPE.GetLength ( self)
GetLength(EDA_SHAPE self) -> double

Definition at line 18354 of file pcbnew.py.

◆ GetLineColor()

pcbnew.EDA_SHAPE.GetLineColor ( self)
GetLineColor(EDA_SHAPE self) -> COLOR4D

Definition at line 18115 of file pcbnew.py.

◆ GetLineStyle()

pcbnew.EDA_SHAPE.GetLineStyle ( self)
GetLineStyle(EDA_SHAPE self) -> LINE_STYLE

Definition at line 18107 of file pcbnew.py.

◆ GetPointCount()

pcbnew.EDA_SHAPE.GetPointCount ( self)
GetPointCount(EDA_SHAPE self) -> int

Definition at line 18287 of file pcbnew.py.

◆ GetPolyPoints()

pcbnew.EDA_SHAPE.GetPolyPoints ( self)
GetPolyPoints(EDA_SHAPE self) -> VECTOR_VECTOR2I

Definition at line 18283 of file pcbnew.py.

◆ GetPolyShape()

pcbnew.EDA_SHAPE.GetPolyShape ( self,
* args )
    GetPolyShape(EDA_SHAPE self) -> SHAPE_POLY_SET
    GetPolyShape(EDA_SHAPE self) -> SHAPE_POLY_SET

Definition at line 18291 of file pcbnew.py.

◆ GetRadius()

pcbnew.EDA_SHAPE.GetRadius ( self)
GetRadius(EDA_SHAPE self) -> int

Definition at line 18267 of file pcbnew.py.

◆ GetRectangleHeight()

pcbnew.EDA_SHAPE.GetRectangleHeight ( self)
GetRectangleHeight(EDA_SHAPE self) -> int

Definition at line 18358 of file pcbnew.py.

◆ GetRectangleWidth()

pcbnew.EDA_SHAPE.GetRectangleWidth ( self)
GetRectangleWidth(EDA_SHAPE self) -> int

Definition at line 18362 of file pcbnew.py.

◆ GetRectCorners()

pcbnew.EDA_SHAPE.GetRectCorners ( self)
GetRectCorners(EDA_SHAPE self) -> VECTOR_VECTOR2I

Definition at line 18255 of file pcbnew.py.

◆ GetSegmentAngle()

pcbnew.EDA_SHAPE.GetSegmentAngle ( self)
GetSegmentAngle(EDA_SHAPE self) -> EDA_ANGLE

Definition at line 18243 of file pcbnew.py.

◆ GetShape()

pcbnew.EDA_SHAPE.GetShape ( self)
GetShape(EDA_SHAPE self) -> SHAPE_T

Definition at line 18123 of file pcbnew.py.

◆ GetStart()

pcbnew.EDA_SHAPE.GetStart ( self)
GetStart(EDA_SHAPE self) -> VECTOR2I

Definition at line 18127 of file pcbnew.py.

◆ GetStartX()

pcbnew.EDA_SHAPE.GetStartX ( self)
GetStartX(EDA_SHAPE self) -> int

Definition at line 18135 of file pcbnew.py.

◆ GetStartY()

pcbnew.EDA_SHAPE.GetStartY ( self)
GetStartY(EDA_SHAPE self) -> int

Definition at line 18131 of file pcbnew.py.

◆ GetTopLeft()

pcbnew.EDA_SHAPE.GetTopLeft ( self)
GetTopLeft(EDA_SHAPE self) -> VECTOR2I

Definition at line 18187 of file pcbnew.py.

◆ GetWidth()

pcbnew.EDA_SHAPE.GetWidth ( self)
GetWidth(EDA_SHAPE self) -> int

Definition at line 18087 of file pcbnew.py.

◆ IsAnyFill()

pcbnew.EDA_SHAPE.IsAnyFill ( self)
IsAnyFill(EDA_SHAPE self) -> bool

Definition at line 18023 of file pcbnew.py.

◆ IsClockwiseArc()

pcbnew.EDA_SHAPE.IsClockwiseArc ( self)
IsClockwiseArc(EDA_SHAPE self) -> bool

Definition at line 18350 of file pcbnew.py.

◆ IsClosed()

pcbnew.EDA_SHAPE.IsClosed ( self)
IsClosed(EDA_SHAPE self) -> bool

Definition at line 18071 of file pcbnew.py.

◆ IsFilledForHitTesting()

pcbnew.EDA_SHAPE.IsFilledForHitTesting ( self)
IsFilledForHitTesting(EDA_SHAPE self) -> bool

Definition at line 18035 of file pcbnew.py.

◆ IsHatchedFill()

pcbnew.EDA_SHAPE.IsHatchedFill ( self)
IsHatchedFill(EDA_SHAPE self) -> bool

Definition at line 18031 of file pcbnew.py.

◆ IsPolyShapeValid()

pcbnew.EDA_SHAPE.IsPolyShapeValid ( self)
IsPolyShapeValid(EDA_SHAPE self) -> bool

Definition at line 18298 of file pcbnew.py.

◆ IsProxyItem()

pcbnew.EDA_SHAPE.IsProxyItem ( self)
IsProxyItem(EDA_SHAPE self) -> bool

Definition at line 18015 of file pcbnew.py.

◆ IsSolidFill()

pcbnew.EDA_SHAPE.IsSolidFill ( self)
IsSolidFill(EDA_SHAPE self) -> bool

Definition at line 18027 of file pcbnew.py.

◆ MakeEffectiveShapes()

pcbnew.EDA_SHAPE.MakeEffectiveShapes ( self,
aEdgeOnly = False )
MakeEffectiveShapes(EDA_SHAPE self, bool aEdgeOnly=False) -> std::vector< SHAPE *,std::allocator< SHAPE * > >

Definition at line 18314 of file pcbnew.py.

◆ MakeEffectiveShapesForHitTesting()

pcbnew.EDA_SHAPE.MakeEffectiveShapesForHitTesting ( self)
MakeEffectiveShapesForHitTesting(EDA_SHAPE self) -> std::vector< SHAPE *,std::allocator< SHAPE * > >

Definition at line 18318 of file pcbnew.py.

◆ MakeEffectiveShapesForStroking()

pcbnew.EDA_SHAPE.MakeEffectiveShapesForStroking ( self)
MakeEffectiveShapesForStroking(EDA_SHAPE self) -> std::vector< SHAPE *,std::allocator< SHAPE * > >

Definition at line 18322 of file pcbnew.py.

◆ RebuildBezierToSegmentsPointsList()

pcbnew.EDA_SHAPE.RebuildBezierToSegmentsPointsList ( self,
aMaxError )
RebuildBezierToSegmentsPointsList(EDA_SHAPE self, int aMaxError)

Definition at line 18310 of file pcbnew.py.

◆ Serialize()

pcbnew.EDA_SHAPE.Serialize ( self,
* args )
    Serialize(EDA_SHAPE self, google::protobuf::Any & aContainer)
    Serialize(EDA_SHAPE self, kiapi::common::types::GraphicShape & aOutput)

Reimplemented in pcbnew.PCB_SHAPE, and pcbnew.PCB_TEXTBOX.

Definition at line 17993 of file pcbnew.py.

◆ SetArcAngle()

pcbnew.EDA_SHAPE.SetArcAngle ( self,
aAngle )
SetArcAngle(EDA_SHAPE self, EDA_ANGLE aAngle)

Definition at line 18235 of file pcbnew.py.

◆ SetArcAngleAndEnd()

pcbnew.EDA_SHAPE.SetArcAngleAndEnd ( self,
aAngle,
aCheckNegativeAngle = False )
SetArcAngleAndEnd(EDA_SHAPE self, EDA_ANGLE aAngle, bool aCheckNegativeAngle=False)

Definition at line 18231 of file pcbnew.py.

◆ SetArcGeometry()

pcbnew.EDA_SHAPE.SetArcGeometry ( self,
aStart,
aMid,
aEnd )
SetArcGeometry(EDA_SHAPE self, VECTOR2I aStart, VECTOR2I aMid, VECTOR2I aEnd)

Definition at line 18271 of file pcbnew.py.

◆ SetBezierC1()

pcbnew.EDA_SHAPE.SetBezierC1 ( self,
aPt )
SetBezierC1(EDA_SHAPE self, VECTOR2I aPt)

Definition at line 18211 of file pcbnew.py.

◆ SetBezierC2()

pcbnew.EDA_SHAPE.SetBezierC2 ( self,
aPt )
SetBezierC2(EDA_SHAPE self, VECTOR2I aPt)

Definition at line 18219 of file pcbnew.py.

◆ SetBottom()

pcbnew.EDA_SHAPE.SetBottom ( self,
val )
SetBottom(EDA_SHAPE self, int val)

Definition at line 18207 of file pcbnew.py.

◆ SetCachedArcData()

pcbnew.EDA_SHAPE.SetCachedArcData ( self,
aStart,
aMid,
aEnd,
aCenter )
SetCachedArcData(EDA_SHAPE self, VECTOR2I aStart, VECTOR2I aMid, VECTOR2I aEnd, VECTOR2I aCenter)

Definition at line 18275 of file pcbnew.py.

◆ SetCenter()

pcbnew.EDA_SHAPE.SetCenter ( self,
aCenter )
SetCenter(EDA_SHAPE self, VECTOR2I aCenter)

Definition at line 18227 of file pcbnew.py.

◆ SetCenterX()

pcbnew.EDA_SHAPE.SetCenterX ( self,
x )
SetCenterX(EDA_SHAPE self, int x)

Definition at line 18155 of file pcbnew.py.

◆ SetCenterY()

pcbnew.EDA_SHAPE.SetCenterY ( self,
y )
SetCenterY(EDA_SHAPE self, int y)

Definition at line 18151 of file pcbnew.py.

◆ SetCornerRadius()

pcbnew.EDA_SHAPE.SetCornerRadius ( self,
aRadius )
SetCornerRadius(EDA_SHAPE self, int aRadius)

Definition at line 18342 of file pcbnew.py.

◆ SetEnd()

pcbnew.EDA_SHAPE.SetEnd ( self,
aEnd )
SetEnd(EDA_SHAPE self, VECTOR2I aEnd)

Definition at line 18171 of file pcbnew.py.

◆ SetEndX()

pcbnew.EDA_SHAPE.SetEndX ( self,
aX )
SetEndX(EDA_SHAPE self, int aX)

Definition at line 18179 of file pcbnew.py.

◆ SetEndY()

pcbnew.EDA_SHAPE.SetEndY ( self,
aY )
SetEndY(EDA_SHAPE self, int aY)

Definition at line 18175 of file pcbnew.py.

◆ SetFillColor()

pcbnew.EDA_SHAPE.SetFillColor ( self,
aColor )
SetFillColor(EDA_SHAPE self, COLOR4D aColor)

Definition at line 18079 of file pcbnew.py.

◆ SetFilled()

pcbnew.EDA_SHAPE.SetFilled ( self,
aFlag )
SetFilled(EDA_SHAPE self, bool aFlag)

Definition at line 18039 of file pcbnew.py.

◆ SetFillMode()

pcbnew.EDA_SHAPE.SetFillMode ( self,
aFill )
SetFillMode(EDA_SHAPE self, FILL_T aFill)

Definition at line 18043 of file pcbnew.py.

◆ SetFillModeProp()

pcbnew.EDA_SHAPE.SetFillModeProp ( self,
arg2 )
SetFillModeProp(EDA_SHAPE self, UI_FILL_MODE arg2)

Definition at line 18051 of file pcbnew.py.

◆ SetHatchingDirty()

pcbnew.EDA_SHAPE.SetHatchingDirty ( self)
SetHatchingDirty(EDA_SHAPE self)

Definition at line 18059 of file pcbnew.py.

◆ SetIsProxyItem()

pcbnew.EDA_SHAPE.SetIsProxyItem ( self,
aIsProxy = True )
SetIsProxyItem(EDA_SHAPE self, bool aIsProxy=True)

Reimplemented in pcbnew.PCB_SHAPE.

Definition at line 18019 of file pcbnew.py.

◆ SetLeft()

pcbnew.EDA_SHAPE.SetLeft ( self,
val )
SetLeft(EDA_SHAPE self, int val)

Definition at line 18199 of file pcbnew.py.

◆ SetLineColor()

pcbnew.EDA_SHAPE.SetLineColor ( self,
aColor )
SetLineColor(EDA_SHAPE self, COLOR4D aColor)

Definition at line 18111 of file pcbnew.py.

◆ SetLineStyle()

pcbnew.EDA_SHAPE.SetLineStyle ( self,
aStyle )
SetLineStyle(EDA_SHAPE self, LINE_STYLE const aStyle)

Definition at line 18103 of file pcbnew.py.

◆ SetPolyPoints()

pcbnew.EDA_SHAPE.SetPolyPoints ( self,
aPoints )
SetPolyPoints(EDA_SHAPE self, VECTOR_VECTOR2I aPoints)

Definition at line 18306 of file pcbnew.py.

◆ SetPolyShape()

pcbnew.EDA_SHAPE.SetPolyShape ( self,
aShape )
SetPolyShape(EDA_SHAPE self, SHAPE_POLY_SET aShape)

Definition at line 18302 of file pcbnew.py.

◆ SetRadius()

pcbnew.EDA_SHAPE.SetRadius ( self,
aX )
SetRadius(EDA_SHAPE self, int aX)

Definition at line 18183 of file pcbnew.py.

◆ SetRectangle()

pcbnew.EDA_SHAPE.SetRectangle ( self,
aHeight,
aWidth )
SetRectangle(EDA_SHAPE self, long long const & aHeight, long long const & aWidth)

Definition at line 18338 of file pcbnew.py.

◆ SetRectangleHeight()

pcbnew.EDA_SHAPE.SetRectangleHeight ( self,
aHeight )
SetRectangleHeight(EDA_SHAPE self, int const & aHeight)

Definition at line 18330 of file pcbnew.py.

◆ SetRectangleWidth()

pcbnew.EDA_SHAPE.SetRectangleWidth ( self,
aWidth )
SetRectangleWidth(EDA_SHAPE self, int const & aWidth)

Definition at line 18334 of file pcbnew.py.

◆ SetRight()

pcbnew.EDA_SHAPE.SetRight ( self,
val )
SetRight(EDA_SHAPE self, int val)

Definition at line 18203 of file pcbnew.py.

◆ SetShape()

pcbnew.EDA_SHAPE.SetShape ( self,
aShape )
SetShape(EDA_SHAPE self, SHAPE_T aShape)

Definition at line 18119 of file pcbnew.py.

◆ SetStart()

pcbnew.EDA_SHAPE.SetStart ( self,
aStart )
SetStart(EDA_SHAPE self, VECTOR2I aStart)

Definition at line 18139 of file pcbnew.py.

◆ SetStartX()

pcbnew.EDA_SHAPE.SetStartX ( self,
x )
SetStartX(EDA_SHAPE self, int x)

Definition at line 18147 of file pcbnew.py.

◆ SetStartY()

pcbnew.EDA_SHAPE.SetStartY ( self,
y )
SetStartY(EDA_SHAPE self, int y)

Definition at line 18143 of file pcbnew.py.

◆ SetTop()

pcbnew.EDA_SHAPE.SetTop ( self,
val )
SetTop(EDA_SHAPE self, int val)

Definition at line 18195 of file pcbnew.py.

◆ SetWidth()

pcbnew.EDA_SHAPE.SetWidth ( self,
aWidth )
SetWidth(EDA_SHAPE self, int aWidth)

Definition at line 18083 of file pcbnew.py.

◆ SHAPE_T_asString()

pcbnew.EDA_SHAPE.SHAPE_T_asString ( self)
SHAPE_T_asString(EDA_SHAPE self) -> wxString

Definition at line 18011 of file pcbnew.py.

◆ ShapeGetMsgPanelInfo()

pcbnew.EDA_SHAPE.ShapeGetMsgPanelInfo ( self,
aFrame,
aList )
ShapeGetMsgPanelInfo(EDA_SHAPE self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)

Definition at line 18326 of file pcbnew.py.

◆ ShowShape()

pcbnew.EDA_SHAPE.ShowShape ( self)
ShowShape(EDA_SHAPE self) -> wxString

Definition at line 18007 of file pcbnew.py.

◆ Similarity()

pcbnew.EDA_SHAPE.Similarity ( self,
aOther )
Similarity(EDA_SHAPE self, EDA_SHAPE aOther) -> double

Definition at line 18378 of file pcbnew.py.

◆ SwapShape()

pcbnew.EDA_SHAPE.SwapShape ( self,
aImage )
SwapShape(EDA_SHAPE self, EDA_SHAPE aImage)

Definition at line 17989 of file pcbnew.py.

◆ TransformShapeToPolygon()

pcbnew.EDA_SHAPE.TransformShapeToPolygon ( self,
aBuffer,
aClearance,
aError,
aErrorLoc,
ignoreLineWidth = False,
includeFill = False )
TransformShapeToPolygon(EDA_SHAPE self, SHAPE_POLY_SET aBuffer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False, bool includeFill=False)

Reimplemented in pcbnew.PCB_SHAPE, and pcbnew.PCB_TEXTBOX.

Definition at line 18370 of file pcbnew.py.

◆ UpdateHatching()

pcbnew.EDA_SHAPE.UpdateHatching ( self)
UpdateHatching(EDA_SHAPE self)

Definition at line 18366 of file pcbnew.py.

Property Documentation

◆ thisown

pcbnew.EDA_SHAPE.thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
static

Definition at line 17976 of file pcbnew.py.


The documentation for this class was generated from the following file: