KiCad Pcbnew Python Scripting
Public Member Functions | Static Public Member Functions | Properties | List of all members
pcbnew.PCB_DIM_ALIGNED Class Reference
Inheritance diagram for pcbnew.PCB_DIM_ALIGNED:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, aParent, aType)
 
def Mirror (self, axis_pos, aMirrorLeftRight=False)
 
def GetCrossbarStart (self)
 
def GetCrossbarEnd (self)
 
def SetHeight (self, aHeight)
 
def GetHeight (self)
 
def ChangeHeight (self, aHeight)
 
def UpdateHeight (self, aCrossbarStart, aCrossbarEnd)
 
def SetExtensionHeight (self, aHeight)
 
def GetExtensionHeight (self)
 
def ChangeExtensionHeight (self, aHeight)
 
def GetAngle (self)
 
- Public Member Functions inherited from pcbnew.PCB_DIMENSION_BASE
def __init__ (self, *args, **kwargs)
 
def GetStart (self)
 
def SetStart (self, aPoint)
 
def GetEnd (self)
 
def SetEnd (self, aPoint)
 
def GetOverrideTextEnabled (self)
 
def SetOverrideTextEnabled (self, aOverride)
 
def GetOverrideText (self)
 
def SetOverrideText (self, aValue)
 
def ChangeOverrideText (self, aValue)
 
def GetMeasuredValue (self)
 
def SetMeasuredValue (self, aValue)
 
def GetValueText (self)
 
def Update (self)
 
def UpdateUnits (self)
 
def GetPrefix (self)
 
def SetPrefix (self, aPrefix)
 
def ChangePrefix (self, aPrefix)
 
def GetSuffix (self)
 
def SetSuffix (self, aSuffix)
 
def ChangeSuffix (self, aSuffix)
 
def GetUnits (self)
 
def SetUnits (self, aUnits)
 
def GetUnitsMode (self)
 
def SetUnitsMode (self, aMode)
 
def ChangeUnitsMode (self, aMode)
 
def SetAutoUnits (self, aAuto=True)
 
def GetUnitsFormat (self)
 
def SetUnitsFormat (self, aFormat)
 
def ChangeUnitsFormat (self, aFormat)
 
def GetPrecision (self)
 
def SetPrecision (self, aPrecision)
 
def ChangePrecision (self, aPrecision)
 
def GetSuppressZeroes (self)
 
def SetSuppressZeroes (self, aSuppress)
 
def ChangeSuppressZeroes (self, aSuppress)
 
def GetKeepTextAligned (self)
 
def SetKeepTextAligned (self, aKeepAligned)
 
def SetTextPositionMode (self, aMode)
 
def GetTextPositionMode (self)
 
def GetArrowLength (self)
 
def SetArrowLength (self, aLength)
 
def SetExtensionOffset (self, aOffset)
 
def GetExtensionOffset (self)
 
def GetLineThickness (self)
 
def SetLineThickness (self, aWidth)
 
def GetShapes (self)
 
def Mirror (self, axis_pos, aMirrorLeftRight=False)
 
def HitTest (self, *args)
 
def GetEffectiveShape (self, *args)
 
def TransformShapeToPolygon (self, aBuffer, aLayer, aClearance, aError, aErrorLoc, aIgnoreLineWidth=False)
 
- Public Member Functions inherited from pcbnew.PCB_TEXT
def __init__ (self, parent, idtype=PCB_TEXT_T)
 
def GetShownText (self, aAllowExtraText, aDepth=0)
 
def Mirror (self, aCentre, aMirrorAroundXAxis)
 
def TextHitTest (self, *args)
 
def HitTest (self, *args)
 
def TransformTextToPolySet (self, aBuffer, aClearance, aError, aErrorLoc)
 
def TransformShapeToPolygon (self, aBuffer, aLayer, aClearance, aError, aErrorLoc, aIgnoreLineWidth=False)
 
def GetEffectiveShape (self, *args)
 
def ViewGetLOD (self, aLayer, aView)
 
def GetShownText (self)
 
- Public Member Functions inherited from pcbnew.BOARD_ITEM
def __init__ (self, *args, **kwargs)
 
def SetParentGroup (self, aGroup)
 
def GetParentGroup (self)
 
def GetX (self)
 
def GetY (self)
 
def GetCenter (self)
 
def SetX (self, aX)
 
def SetY (self, aY)
 
def IsConnected (self)
 
def IsOnCopperLayer (self)
 
def HasHole (self)
 
def IsTented (self)
 
def GetEffectiveShape (self, *args)
 
def GetEffectiveHoleShape (self)
 
def GetParent (self)
 
def GetParentFootprint (self)
 
def HasLineStroke (self)
 
def GetStroke (self)
 
def SetStroke (self, aStroke)
 
def GetLayer (self)
 
def GetLayerSet (self)
 
def SetLayerSet (self, aLayers)
 
def SetLayer (self, aLayer)
 
def Duplicate (self)
 
def SwapItemData (self, aImage)
 
def IsOnLayer (self, aLayer)
 
def IsKnockout (self)
 
def SetIsKnockout (self, aKnockout)
 
def IsLocked (self)
 
def SetLocked (self, aLocked)
 
def DeleteStructure (self)
 
def Move (self, aMoveVector)
 
def Rotate (self, aRotCentre, aAngle)
 
def Flip (self, aCentre, aFlipLeftRight)
 
def GetBoard (self, *args)
 
def GetLayerName (self)
 
def TransformShapeToPolygon (self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth=False)
 
def Cast (self)
 
def Duplicate (self)
 
def SetPos (self, p)
 
def SetStartEnd (self, start, end)
 
- Public Member Functions inherited from pcbnew.EDA_ITEM
def __init__ (self, *args, **kwargs)
 
def Type (self)
 
def GetParent (self)
 
def SetParent (self, aParent)
 
def IsModified (self)
 
def IsNew (self)
 
def IsMoving (self)
 
def IsSelected (self)
 
def IsEntered (self)
 
def IsBrightened (self)
 
def IsRollover (self)
 
def SetSelected (self)
 
def SetBrightened (self)
 
def ClearSelected (self)
 
def ClearBrightened (self)
 
def SetModified (self)
 
def GetState (self, type)
 
def SetState (self, type, state)
 
def GetStatus (self)
 
def SetStatus (self, aStatus)
 
def SetFlags (self, aMask)
 
def XorFlags (self, aMask)
 
def ClearFlags (self, *args)
 
def GetFlags (self)
 
def HasFlag (self, aFlag)
 
def GetEditFlags (self)
 
def ClearTempFlags (self)
 
def ClearEditFlags (self)
 
def RenderAsBitmap (self, aWorldScale)
 
def SetIsShownAsBitmap (self, aBitmap)
 
def IsShownAsBitmap (self)
 
def IsType (self, aScanTypes)
 
def SetForceVisible (self, aEnable)
 
def IsForceVisible (self)
 
def GetMsgPanelInfo (self, aFrame, aList)
 
def GetFriendlyName (self)
 
def HitTest (self, *args)
 
def GetBoundingBox (self)
 
def GetPosition (self)
 
def SetPosition (self, aPos)
 
def GetFocusPosition (self)
 
def GetSortPosition (self)
 
def Clone (self)
 
def Visit (self, inspector, testData, aScanTypes)
 
def GetClass (self)
 
def GetTypeDesc (self)
 
def GetItemDescription (self, aUnitsProvider)
 
def GetMenuImage (self)
 
def Matches (self, aSearchData, aAuxData)
 
def Replace (self, *args)
 
def IsReplaceable (self)
 
def __lt__ (self, aItem)
 
def ViewBBox (self)
 
def ViewGetLayers (self, aLayers, aCount)
 
- Public Member Functions inherited from pcbnew.EDA_TEXT
def __init__ (self, *args)
 
def GetText (self)
 
def GetShownText (self, aAllowExtraText, aDepth=0)
 
def HasTextVars (self)
 
def SetText (self, aText)
 
def SetTextThickness (self, aWidth)
 
def GetTextThickness (self)
 
def GetEffectiveTextPenWidth (self, aDefaultPenWidth=0)
 
def SetTextAngle (self, aAngle)
 
def GetTextAngle (self)
 
def SetTextAngleDegrees (self, aOrientation)
 
def GetTextAngleDegrees (self)
 
def SetItalic (self, aItalic)
 
def IsItalic (self)
 
def SetBold (self, aBold)
 
def IsBold (self)
 
def SetVisible (self, aVisible)
 
def IsVisible (self)
 
def SetMirrored (self, isMirrored)
 
def IsMirrored (self)
 
def SetMultilineAllowed (self, aAllow)
 
def IsMultilineAllowed (self)
 
def SetHorizJustify (self, aType)
 
def GetHorizJustify (self)
 
def SetVertJustify (self, aType)
 
def GetVertJustify (self)
 
def SetKeepUpright (self, aKeepUpright)
 
def IsKeepUpright (self)
 
def SwapAttributes (self, aTradingPartner)
 
def SwapText (self, aTradingPartner)
 
def CopyText (self, aSrc)
 
def SetAttributes (self, *args)
 
def GetAttributes (self)
 
def Replace (self, aSearchData)
 
def IsDefaultFormatting (self)
 
def SetFont (self, aFont)
 
def GetFont (self)
 
def GetFontName (self)
 
def SetLineSpacing (self, aLineSpacing)
 
def GetLineSpacing (self)
 
def SetTextSize (self, aNewSize)
 
def GetTextSize (self)
 
def SetTextWidth (self, aWidth)
 
def GetTextWidth (self)
 
def SetTextHeight (self, aHeight)
 
def GetTextHeight (self)
 
def SetTextColor (self, aColor)
 
def GetTextColor (self)
 
def SetTextPos (self, aPoint)
 
def GetTextPos (self)
 
def SetTextX (self, aX)
 
def SetTextY (self, aY)
 
def Offset (self, aOffset)
 
def Empty (self)
 
def Print (self, aSettings, aOffset, aColor, aDisplay_mode=FILLED)
 
def GetEffectiveTextShapeNative (self, *args)
 
def TextHitTest (self, *args)
 
def GetTextBox (self, aLine=-1, aInvertY=False)
 
def GetInterline (self)
 
def GetTextStyleName (self)
 
def GetLinePositions (self, aPositions, aLineCount)
 
def Format (self, aFormatter, aNestLevel, aControlBits)
 
def GetDrawRotation (self)
 
def GetDrawPos (self)
 
def ClearRenderCache (self)
 
def ClearBoundingBoxCache (self)
 
def GetRenderCache (self, *args)
 
def SetupRenderCache (self, aResolvedText, aAngle)
 
def AddRenderCacheGlyph (self, aPoly)
 
def Compare (self, aOther)
 
def HasHyperlink (self)
 
def GetHyperlink (self)
 
def SetHyperlink (self, aLink)
 
def RemoveHyperlink (self)
 
def GetEffectiveTextShape (self, aTriangulate=True, aUseTextRotation=True)
 
def GetShownText (self)
 

Static Public Member Functions

def ClassOf (aItem)
 
def ClassOf (aItem)
 
- Static Public Member Functions inherited from pcbnew.EDA_ITEM
def Sort (aLeft, aRight)
 
- Static Public Member Functions inherited from pcbnew.EDA_TEXT
def MapHorizJustify (aHorizJustify)
 
def MapVertJustify (aVertJustify)
 
def ValidateHyperlink (aURL)
 
def IsGotoPageHref (aHref, aDestination=None)
 
def GotoPageHref (aDestination)
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
- Properties inherited from pcbnew.PCB_DIMENSION_BASE
 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
- Properties inherited from pcbnew.PCB_TEXT
 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
- Properties inherited from pcbnew.BOARD_ITEM
 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
- Properties inherited from pcbnew.EDA_ITEM
 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
 m_Uuid = property(_pcbnew.EDA_ITEM_m_Uuid_get, doc=)
 
- Properties inherited from pcbnew.EDA_TEXT
 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 

Detailed Description

Proxy of C++ PCB_DIM_ALIGNED class.

Definition at line 15337 of file pcbnew.py.

Constructor & Destructor Documentation

◆ __init__()

def pcbnew.PCB_DIM_ALIGNED.__init__ (   self,
  aParent,
  aType 
)
__init__(PCB_DIM_ALIGNED self, BOARD_ITEM aParent, KICAD_T aType) -> PCB_DIM_ALIGNED

Reimplemented from pcbnew.PCB_DIMENSION_BASE.

Reimplemented in pcbnew.PCB_DIM_ORTHOGONAL.

Definition at line 15343 of file pcbnew.py.

Member Function Documentation

◆ ChangeExtensionHeight()

def pcbnew.PCB_DIM_ALIGNED.ChangeExtensionHeight (   self,
  aHeight 
)
ChangeExtensionHeight(PCB_DIM_ALIGNED self, int aHeight)

Definition at line 15389 of file pcbnew.py.

◆ ChangeHeight()

def pcbnew.PCB_DIM_ALIGNED.ChangeHeight (   self,
  aHeight 
)
ChangeHeight(PCB_DIM_ALIGNED self, int aHeight)

Definition at line 15373 of file pcbnew.py.

◆ ClassOf()

def pcbnew.PCB_DIM_ALIGNED.ClassOf (   aItem)
static
ClassOf(EDA_ITEM aItem) -> bool

Reimplemented from pcbnew.PCB_TEXT.

Reimplemented in pcbnew.PCB_DIM_ORTHOGONAL.

Definition at line 15349 of file pcbnew.py.

◆ GetAngle()

def pcbnew.PCB_DIM_ALIGNED.GetAngle (   self)
GetAngle(PCB_DIM_ALIGNED self) -> double

Definition at line 15393 of file pcbnew.py.

◆ GetCrossbarEnd()

def pcbnew.PCB_DIM_ALIGNED.GetCrossbarEnd (   self)
GetCrossbarEnd(PCB_DIM_ALIGNED self) -> VECTOR2I

Definition at line 15361 of file pcbnew.py.

◆ GetCrossbarStart()

def pcbnew.PCB_DIM_ALIGNED.GetCrossbarStart (   self)
GetCrossbarStart(PCB_DIM_ALIGNED self) -> VECTOR2I

Definition at line 15357 of file pcbnew.py.

◆ GetExtensionHeight()

def pcbnew.PCB_DIM_ALIGNED.GetExtensionHeight (   self)
GetExtensionHeight(PCB_DIM_ALIGNED self) -> int

Definition at line 15385 of file pcbnew.py.

◆ GetHeight()

def pcbnew.PCB_DIM_ALIGNED.GetHeight (   self)
GetHeight(PCB_DIM_ALIGNED self) -> int

Definition at line 15369 of file pcbnew.py.

Here is the caller graph for this function:

◆ Mirror()

def pcbnew.PCB_DIM_ALIGNED.Mirror (   self,
  axis_pos,
  aMirrorLeftRight = False 
)
Mirror(PCB_DIM_ALIGNED self, VECTOR2I axis_pos, bool aMirrorLeftRight=False)

Reimplemented from pcbnew.PCB_DIMENSION_BASE.

Definition at line 15353 of file pcbnew.py.

◆ SetExtensionHeight()

def pcbnew.PCB_DIM_ALIGNED.SetExtensionHeight (   self,
  aHeight 
)
SetExtensionHeight(PCB_DIM_ALIGNED self, int aHeight)

Definition at line 15381 of file pcbnew.py.

◆ SetHeight()

def pcbnew.PCB_DIM_ALIGNED.SetHeight (   self,
  aHeight 
)
SetHeight(PCB_DIM_ALIGNED self, int aHeight)

Definition at line 15365 of file pcbnew.py.

Here is the caller graph for this function:

◆ UpdateHeight()

def pcbnew.PCB_DIM_ALIGNED.UpdateHeight (   self,
  aCrossbarStart,
  aCrossbarEnd 
)
UpdateHeight(PCB_DIM_ALIGNED self, VECTOR2I aCrossbarStart, VECTOR2I aCrossbarEnd)

Definition at line 15377 of file pcbnew.py.

Property Documentation

◆ thisown

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

Definition at line 15340 of file pcbnew.py.


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