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

Public Member Functions

def __init__ (self, *args)
 
def Serialize (self, aContainer)
 
def Deserialize (self, aContainer)
 
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 SetItalicFlag (self, aItalic)
 
def IsItalic (self)
 
def SetBold (self, aBold)
 
def SetBoldFlag (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 FlipHJustify (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 SetFontIndex (self, aIdx)
 
def GetFontIndex (self)
 
def SetLineSpacing (self, aLineSpacing)
 
def GetLineSpacing (self)
 
def SetTextSize (self, aNewSize, aEnforceMinTextSize=True)
 
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 GetEffectiveTextShape (self, *args)
 
def TextHitTest (self, *args)
 
def GetTextBox (self, aLine=-1)
 
def GetInterline (self)
 
def GetTextStyleName (self)
 
def GetLinePositions (self, aPositions, aLineCount)
 
def Levenshtein (self, aOther)
 
def Similarity (self, aOther)
 
def Format (self, aFormatter, aControlBits)
 
def GetDrawRotation (self)
 
def GetDrawPos (self)
 
def ClearRenderCache (self)
 
def ClearBoundingBoxCache (self)
 
def GetRenderCache (self, *args)
 
def SetupRenderCache (self, aResolvedText, aFont, aAngle, aOffset)
 
def AddRenderCacheGlyph (self, aPoly)
 
def Compare (self, aOther)
 
def __eq__ (self, aRhs)
 
def __lt__ (self, aRhs)
 
def __gt__ (self, aRhs)
 
def HasHyperlink (self)
 
def GetHyperlink (self)
 
def SetHyperlink (self, aLink)
 
def RemoveHyperlink (self)
 

Static Public Member Functions

def MapHorizJustify (aHorizJustify)
 
def MapVertJustify (aVertJustify)
 
def ValidateHyperlink (aURL)
 
def IsGotoPageHref (aHref, aDestination=None)
 
def GotoPageHref (aDestination)
 

Properties

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

Detailed Description

Proxy of C++ EDA_TEXT class.

Definition at line 2480 of file pcbnew.py.

Constructor & Destructor Documentation

◆ __init__()

def pcbnew.EDA_TEXT.__init__ (   self,
args 
)
    __init__(EDA_TEXT self, EDA_IU_SCALE aIuScale, wxString aText=wxEmptyString) -> EDA_TEXT
    __init__(EDA_TEXT self, EDA_TEXT aText) -> EDA_TEXT

Reimplemented in pcbnew.PCB_TEXT, pcbnew.PCB_FIELD, pcbnew.PCB_DIMENSION_BASE, pcbnew.PCB_DIM_ORTHOGONAL, pcbnew.PCB_DIM_RADIAL, pcbnew.PCB_DIM_LEADER, pcbnew.PCB_DIM_CENTER, pcbnew.PCB_DIM_ALIGNED, and pcbnew.PCB_TEXTBOX.

Definition at line 2486 of file pcbnew.py.

Here is the caller graph for this function:

Member Function Documentation

◆ __eq__()

def pcbnew.EDA_TEXT.__eq__ (   self,
  aRhs 
)
__eq__(EDA_TEXT self, EDA_TEXT aRhs) -> bool

Reimplemented in pcbnew.PCB_TEXT, pcbnew.PCB_TEXTBOX, pcbnew.PCB_FIELD, and pcbnew.PCB_DIMENSION_BASE.

Definition at line 2822 of file pcbnew.py.

◆ __gt__()

def pcbnew.EDA_TEXT.__gt__ (   self,
  aRhs 
)
__gt__(EDA_TEXT self, EDA_TEXT aRhs) -> bool

Definition at line 2830 of file pcbnew.py.

◆ __lt__()

def pcbnew.EDA_TEXT.__lt__ (   self,
  aRhs 
)
__lt__(EDA_TEXT self, EDA_TEXT aRhs) -> bool

Definition at line 2826 of file pcbnew.py.

◆ AddRenderCacheGlyph()

def pcbnew.EDA_TEXT.AddRenderCacheGlyph (   self,
  aPoly 
)
AddRenderCacheGlyph(EDA_TEXT self, SHAPE_POLY_SET aPoly)

Definition at line 2814 of file pcbnew.py.

◆ ClearBoundingBoxCache()

def pcbnew.EDA_TEXT.ClearBoundingBoxCache (   self)
ClearBoundingBoxCache(EDA_TEXT self)

Definition at line 2802 of file pcbnew.py.

◆ ClearRenderCache()

def pcbnew.EDA_TEXT.ClearRenderCache (   self)
ClearRenderCache(EDA_TEXT self)

Definition at line 2798 of file pcbnew.py.

◆ Compare()

def pcbnew.EDA_TEXT.Compare (   self,
  aOther 
)
Compare(EDA_TEXT self, EDA_TEXT aOther) -> int

Definition at line 2818 of file pcbnew.py.

◆ CopyText()

def pcbnew.EDA_TEXT.CopyText (   self,
  aSrc 
)
CopyText(EDA_TEXT self, EDA_TEXT aSrc)

Definition at line 2630 of file pcbnew.py.

◆ Deserialize()

def pcbnew.EDA_TEXT.Deserialize (   self,
  aContainer 
)
Deserialize(EDA_TEXT self, google::protobuf::Any const & aContainer) -> bool

Reimplemented in pcbnew.PCB_TEXT, pcbnew.PCB_TEXTBOX, pcbnew.PCB_FIELD, pcbnew.PCB_DIMENSION_BASE, pcbnew.PCB_DIM_ALIGNED, pcbnew.PCB_DIM_ORTHOGONAL, pcbnew.PCB_DIM_RADIAL, pcbnew.PCB_DIM_LEADER, and pcbnew.PCB_DIM_CENTER.

Definition at line 2498 of file pcbnew.py.

◆ Empty()

def pcbnew.EDA_TEXT.Empty (   self)
Empty(EDA_TEXT self)

Definition at line 2733 of file pcbnew.py.

◆ FlipHJustify()

def pcbnew.EDA_TEXT.FlipHJustify (   self)
FlipHJustify(EDA_TEXT self)

Definition at line 2618 of file pcbnew.py.

◆ Format()

def pcbnew.EDA_TEXT.Format (   self,
  aFormatter,
  aControlBits 
)
Format(EDA_TEXT self, OUTPUTFORMATTER aFormatter, int aControlBits)

Definition at line 2786 of file pcbnew.py.

◆ GetAttributes()

def pcbnew.EDA_TEXT.GetAttributes (   self)
GetAttributes(EDA_TEXT self) -> TEXT_ATTRIBUTES

Definition at line 2641 of file pcbnew.py.

◆ GetDrawPos()

def pcbnew.EDA_TEXT.GetDrawPos (   self)
GetDrawPos(EDA_TEXT self) -> VECTOR2I

Reimplemented in pcbnew.PCB_TEXTBOX.

Definition at line 2794 of file pcbnew.py.

◆ GetDrawRotation()

def pcbnew.EDA_TEXT.GetDrawRotation (   self)
GetDrawRotation(EDA_TEXT self) -> EDA_ANGLE

Definition at line 2790 of file pcbnew.py.

◆ GetEffectiveTextPenWidth()

def pcbnew.EDA_TEXT.GetEffectiveTextPenWidth (   self,
  aDefaultPenWidth = 0 
)
GetEffectiveTextPenWidth(EDA_TEXT self, int aDefaultPenWidth=0) -> int

Definition at line 2526 of file pcbnew.py.

◆ GetEffectiveTextShape()

def pcbnew.EDA_TEXT.GetEffectiveTextShape (   self,
args 
)
GetEffectiveTextShape(EDA_TEXT self, bool aTriangulate=True, BOX2I aBBox=BOX2I(), EDA_ANGLE aAngle=ANGLE_0) -> std::shared_ptr< SHAPE_COMPOUND >

Definition at line 2751 of file pcbnew.py.

◆ GetFont()

def pcbnew.EDA_TEXT.GetFont (   self)
GetFont(EDA_TEXT self) -> KIFONT::FONT *

Definition at line 2657 of file pcbnew.py.

◆ GetFontIndex()

def pcbnew.EDA_TEXT.GetFontIndex (   self)
GetFontIndex(EDA_TEXT self) -> int

Definition at line 2669 of file pcbnew.py.

◆ GetFontName()

def pcbnew.EDA_TEXT.GetFontName (   self)
GetFontName(EDA_TEXT self) -> wxString

Definition at line 2661 of file pcbnew.py.

◆ GetHorizJustify()

def pcbnew.EDA_TEXT.GetHorizJustify (   self)
GetHorizJustify(EDA_TEXT self) -> GR_TEXT_H_ALIGN_T

Definition at line 2598 of file pcbnew.py.

◆ GetHyperlink()

def pcbnew.EDA_TEXT.GetHyperlink (   self)
GetHyperlink(EDA_TEXT self) -> wxString

Definition at line 2838 of file pcbnew.py.

◆ GetInterline()

def pcbnew.EDA_TEXT.GetInterline (   self)
GetInterline(EDA_TEXT self) -> int

Definition at line 2766 of file pcbnew.py.

◆ GetLinePositions()

def pcbnew.EDA_TEXT.GetLinePositions (   self,
  aPositions,
  aLineCount 
)
GetLinePositions(EDA_TEXT self, VECTOR_VECTOR2I aPositions, int aLineCount)

Definition at line 2774 of file pcbnew.py.

◆ GetLineSpacing()

def pcbnew.EDA_TEXT.GetLineSpacing (   self)
GetLineSpacing(EDA_TEXT self) -> double

Definition at line 2677 of file pcbnew.py.

◆ GetRenderCache()

def pcbnew.EDA_TEXT.GetRenderCache (   self,
args 
)
GetRenderCache(EDA_TEXT self, KIFONT::FONT const * aFont, wxString forResolvedText, VECTOR2I aOffset={ 0, 0 }) -> std::vector< std::unique_ptr< KIFONT::GLYPH >,std::allocator< std::unique_ptr< KIFONT::GLYPH > > >

Definition at line 2806 of file pcbnew.py.

◆ GetShownText()

def pcbnew.EDA_TEXT.GetShownText (   self,
  aAllowExtraText,
  aDepth = 0 
)
GetShownText(EDA_TEXT self, bool aAllowExtraText, int aDepth=0) -> wxString

Reimplemented in pcbnew.PCB_TEXT, and pcbnew.PCB_TEXTBOX.

Definition at line 2506 of file pcbnew.py.

◆ GetText()

def pcbnew.EDA_TEXT.GetText (   self)
GetText(EDA_TEXT self) -> wxString

Definition at line 2502 of file pcbnew.py.

◆ GetTextAngle()

def pcbnew.EDA_TEXT.GetTextAngle (   self)
GetTextAngle(EDA_TEXT self) -> EDA_ANGLE

Definition at line 2534 of file pcbnew.py.

◆ GetTextAngleDegrees()

def pcbnew.EDA_TEXT.GetTextAngleDegrees (   self)
GetTextAngleDegrees(EDA_TEXT self) -> double

Definition at line 2542 of file pcbnew.py.

◆ GetTextBox()

def pcbnew.EDA_TEXT.GetTextBox (   self,
  aLine = -1 
)
GetTextBox(EDA_TEXT self, int aLine=-1) -> BOX2I

Definition at line 2762 of file pcbnew.py.

◆ GetTextColor()

def pcbnew.EDA_TEXT.GetTextColor (   self)
GetTextColor(EDA_TEXT self) -> COLOR4D

Definition at line 2709 of file pcbnew.py.

◆ GetTextHeight()

def pcbnew.EDA_TEXT.GetTextHeight (   self)
GetTextHeight(EDA_TEXT self) -> int

Definition at line 2701 of file pcbnew.py.

◆ GetTextPos()

def pcbnew.EDA_TEXT.GetTextPos (   self)
GetTextPos(EDA_TEXT self) -> VECTOR2I

Definition at line 2717 of file pcbnew.py.

◆ GetTextSize()

def pcbnew.EDA_TEXT.GetTextSize (   self)
GetTextSize(EDA_TEXT self) -> VECTOR2I

Definition at line 2685 of file pcbnew.py.

◆ GetTextStyleName()

def pcbnew.EDA_TEXT.GetTextStyleName (   self)
GetTextStyleName(EDA_TEXT self) -> wxString

Definition at line 2770 of file pcbnew.py.

◆ GetTextThickness()

def pcbnew.EDA_TEXT.GetTextThickness (   self)
GetTextThickness(EDA_TEXT self) -> int

Definition at line 2522 of file pcbnew.py.

◆ GetTextWidth()

def pcbnew.EDA_TEXT.GetTextWidth (   self)
GetTextWidth(EDA_TEXT self) -> int

Definition at line 2693 of file pcbnew.py.

◆ GetVertJustify()

def pcbnew.EDA_TEXT.GetVertJustify (   self)
GetVertJustify(EDA_TEXT self) -> GR_TEXT_V_ALIGN_T

Definition at line 2606 of file pcbnew.py.

◆ GotoPageHref()

def pcbnew.EDA_TEXT.GotoPageHref (   aDestination)
static
GotoPageHref(wxString aDestination) -> wxString

Definition at line 2861 of file pcbnew.py.

◆ HasHyperlink()

def pcbnew.EDA_TEXT.HasHyperlink (   self)
HasHyperlink(EDA_TEXT self) -> bool

Definition at line 2834 of file pcbnew.py.

◆ HasTextVars()

def pcbnew.EDA_TEXT.HasTextVars (   self)
HasTextVars(EDA_TEXT self) -> bool

Definition at line 2510 of file pcbnew.py.

◆ IsBold()

def pcbnew.EDA_TEXT.IsBold (   self)
IsBold(EDA_TEXT self) -> bool

Definition at line 2566 of file pcbnew.py.

◆ IsDefaultFormatting()

def pcbnew.EDA_TEXT.IsDefaultFormatting (   self)
IsDefaultFormatting(EDA_TEXT self) -> bool

Definition at line 2649 of file pcbnew.py.

◆ IsGotoPageHref()

def pcbnew.EDA_TEXT.IsGotoPageHref (   aHref,
  aDestination = None 
)
static
IsGotoPageHref(wxString aHref, wxString aDestination=None) -> bool

Definition at line 2856 of file pcbnew.py.

◆ IsItalic()

def pcbnew.EDA_TEXT.IsItalic (   self)
IsItalic(EDA_TEXT self) -> bool

Definition at line 2554 of file pcbnew.py.

◆ IsKeepUpright()

def pcbnew.EDA_TEXT.IsKeepUpright (   self)
IsKeepUpright(EDA_TEXT self) -> bool

Definition at line 2614 of file pcbnew.py.

◆ IsMirrored()

def pcbnew.EDA_TEXT.IsMirrored (   self)
IsMirrored(EDA_TEXT self) -> bool

Definition at line 2582 of file pcbnew.py.

◆ IsMultilineAllowed()

def pcbnew.EDA_TEXT.IsMultilineAllowed (   self)
IsMultilineAllowed(EDA_TEXT self) -> bool

Definition at line 2590 of file pcbnew.py.

◆ IsVisible()

def pcbnew.EDA_TEXT.IsVisible (   self)
IsVisible(EDA_TEXT self) -> bool

Definition at line 2574 of file pcbnew.py.

◆ Levenshtein()

def pcbnew.EDA_TEXT.Levenshtein (   self,
  aOther 
)
Levenshtein(EDA_TEXT self, EDA_TEXT aOther) -> double

Definition at line 2778 of file pcbnew.py.

◆ MapHorizJustify()

def pcbnew.EDA_TEXT.MapHorizJustify (   aHorizJustify)
static
MapHorizJustify(int aHorizJustify) -> GR_TEXT_H_ALIGN_T

Definition at line 2738 of file pcbnew.py.

◆ MapVertJustify()

def pcbnew.EDA_TEXT.MapVertJustify (   aVertJustify)
static
MapVertJustify(int aVertJustify) -> GR_TEXT_V_ALIGN_T

Definition at line 2743 of file pcbnew.py.

◆ Offset()

def pcbnew.EDA_TEXT.Offset (   self,
  aOffset 
)
Offset(EDA_TEXT self, VECTOR2I aOffset)

Definition at line 2729 of file pcbnew.py.

◆ Print()

def pcbnew.EDA_TEXT.Print (   self,
  aSettings,
  aOffset,
  aColor,
  aDisplay_mode = FILLED 
)
Print(EDA_TEXT self, RENDER_SETTINGS const * aSettings, VECTOR2I aOffset, COLOR4D aColor, OUTLINE_MODE aDisplay_mode=FILLED)

Definition at line 2747 of file pcbnew.py.

◆ RemoveHyperlink()

def pcbnew.EDA_TEXT.RemoveHyperlink (   self)
RemoveHyperlink(EDA_TEXT self)

Definition at line 2846 of file pcbnew.py.

◆ Replace()

def pcbnew.EDA_TEXT.Replace (   self,
  aSearchData 
)
Replace(EDA_TEXT self, EDA_SEARCH_DATA const & aSearchData) -> bool

Definition at line 2645 of file pcbnew.py.

◆ Serialize()

def pcbnew.EDA_TEXT.Serialize (   self,
  aContainer 
)

◆ SetAttributes()

def pcbnew.EDA_TEXT.SetAttributes (   self,
args 
)
    SetAttributes(EDA_TEXT self, EDA_TEXT aSrc, bool aSetPosition=True)
    SetAttributes(EDA_TEXT self, TEXT_ATTRIBUTES aTextAttrs)

Definition at line 2634 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetBold()

def pcbnew.EDA_TEXT.SetBold (   self,
  aBold 
)
SetBold(EDA_TEXT self, bool aBold)

Definition at line 2558 of file pcbnew.py.

◆ SetBoldFlag()

def pcbnew.EDA_TEXT.SetBoldFlag (   self,
  aBold 
)
SetBoldFlag(EDA_TEXT self, bool aBold)

Definition at line 2562 of file pcbnew.py.

◆ SetFont()

def pcbnew.EDA_TEXT.SetFont (   self,
  aFont 
)
SetFont(EDA_TEXT self, KIFONT::FONT * aFont)

Definition at line 2653 of file pcbnew.py.

◆ SetFontIndex()

def pcbnew.EDA_TEXT.SetFontIndex (   self,
  aIdx 
)
SetFontIndex(EDA_TEXT self, int aIdx)

Definition at line 2665 of file pcbnew.py.

◆ SetHorizJustify()

def pcbnew.EDA_TEXT.SetHorizJustify (   self,
  aType 
)
SetHorizJustify(EDA_TEXT self, GR_TEXT_H_ALIGN_T aType)

Definition at line 2594 of file pcbnew.py.

◆ SetHyperlink()

def pcbnew.EDA_TEXT.SetHyperlink (   self,
  aLink 
)
SetHyperlink(EDA_TEXT self, wxString aLink)

Definition at line 2842 of file pcbnew.py.

◆ SetItalic()

def pcbnew.EDA_TEXT.SetItalic (   self,
  aItalic 
)
SetItalic(EDA_TEXT self, bool aItalic)

Definition at line 2546 of file pcbnew.py.

◆ SetItalicFlag()

def pcbnew.EDA_TEXT.SetItalicFlag (   self,
  aItalic 
)
SetItalicFlag(EDA_TEXT self, bool aItalic)

Definition at line 2550 of file pcbnew.py.

◆ SetKeepUpright()

def pcbnew.EDA_TEXT.SetKeepUpright (   self,
  aKeepUpright 
)
SetKeepUpright(EDA_TEXT self, bool aKeepUpright)

Definition at line 2610 of file pcbnew.py.

◆ SetLineSpacing()

def pcbnew.EDA_TEXT.SetLineSpacing (   self,
  aLineSpacing 
)
SetLineSpacing(EDA_TEXT self, double aLineSpacing)

Definition at line 2673 of file pcbnew.py.

◆ SetMirrored()

def pcbnew.EDA_TEXT.SetMirrored (   self,
  isMirrored 
)
SetMirrored(EDA_TEXT self, bool isMirrored)

Definition at line 2578 of file pcbnew.py.

◆ SetMultilineAllowed()

def pcbnew.EDA_TEXT.SetMultilineAllowed (   self,
  aAllow 
)
SetMultilineAllowed(EDA_TEXT self, bool aAllow)

Definition at line 2586 of file pcbnew.py.

◆ SetText()

def pcbnew.EDA_TEXT.SetText (   self,
  aText 
)
SetText(EDA_TEXT self, wxString aText)

Definition at line 2514 of file pcbnew.py.

◆ SetTextAngle()

def pcbnew.EDA_TEXT.SetTextAngle (   self,
  aAngle 
)
SetTextAngle(EDA_TEXT self, EDA_ANGLE aAngle)

Definition at line 2530 of file pcbnew.py.

◆ SetTextAngleDegrees()

def pcbnew.EDA_TEXT.SetTextAngleDegrees (   self,
  aOrientation 
)
SetTextAngleDegrees(EDA_TEXT self, double aOrientation)

Definition at line 2538 of file pcbnew.py.

◆ SetTextColor()

def pcbnew.EDA_TEXT.SetTextColor (   self,
  aColor 
)
SetTextColor(EDA_TEXT self, COLOR4D aColor)

Definition at line 2705 of file pcbnew.py.

◆ SetTextHeight()

def pcbnew.EDA_TEXT.SetTextHeight (   self,
  aHeight 
)
SetTextHeight(EDA_TEXT self, int aHeight)

Definition at line 2697 of file pcbnew.py.

◆ SetTextPos()

def pcbnew.EDA_TEXT.SetTextPos (   self,
  aPoint 
)
SetTextPos(EDA_TEXT self, VECTOR2I aPoint)

Definition at line 2713 of file pcbnew.py.

◆ SetTextSize()

def pcbnew.EDA_TEXT.SetTextSize (   self,
  aNewSize,
  aEnforceMinTextSize = True 
)
SetTextSize(EDA_TEXT self, VECTOR2I aNewSize, bool aEnforceMinTextSize=True)

Definition at line 2681 of file pcbnew.py.

◆ SetTextThickness()

def pcbnew.EDA_TEXT.SetTextThickness (   self,
  aWidth 
)
SetTextThickness(EDA_TEXT self, int aWidth)

Definition at line 2518 of file pcbnew.py.

◆ SetTextWidth()

def pcbnew.EDA_TEXT.SetTextWidth (   self,
  aWidth 
)
SetTextWidth(EDA_TEXT self, int aWidth)

Definition at line 2689 of file pcbnew.py.

◆ SetTextX()

def pcbnew.EDA_TEXT.SetTextX (   self,
  aX 
)
SetTextX(EDA_TEXT self, int aX)

Definition at line 2721 of file pcbnew.py.

◆ SetTextY()

def pcbnew.EDA_TEXT.SetTextY (   self,
  aY 
)
SetTextY(EDA_TEXT self, int aY)

Definition at line 2725 of file pcbnew.py.

◆ SetupRenderCache()

def pcbnew.EDA_TEXT.SetupRenderCache (   self,
  aResolvedText,
  aFont,
  aAngle,
  aOffset 
)
SetupRenderCache(EDA_TEXT self, wxString aResolvedText, KIFONT::FONT const * aFont, EDA_ANGLE aAngle, VECTOR2I aOffset)

Definition at line 2810 of file pcbnew.py.

◆ SetVertJustify()

def pcbnew.EDA_TEXT.SetVertJustify (   self,
  aType 
)
SetVertJustify(EDA_TEXT self, GR_TEXT_V_ALIGN_T aType)

Definition at line 2602 of file pcbnew.py.

◆ SetVisible()

def pcbnew.EDA_TEXT.SetVisible (   self,
  aVisible 
)
SetVisible(EDA_TEXT self, bool aVisible)

Definition at line 2570 of file pcbnew.py.

◆ Similarity()

def pcbnew.EDA_TEXT.Similarity (   self,
  aOther 
)
Similarity(EDA_TEXT self, EDA_TEXT aOther) -> double

Definition at line 2782 of file pcbnew.py.

◆ SwapAttributes()

def pcbnew.EDA_TEXT.SwapAttributes (   self,
  aTradingPartner 
)
SwapAttributes(EDA_TEXT self, EDA_TEXT aTradingPartner)

Definition at line 2622 of file pcbnew.py.

◆ SwapText()

def pcbnew.EDA_TEXT.SwapText (   self,
  aTradingPartner 
)
SwapText(EDA_TEXT self, EDA_TEXT aTradingPartner)

Definition at line 2626 of file pcbnew.py.

◆ TextHitTest()

def pcbnew.EDA_TEXT.TextHitTest (   self,
args 
)
    TextHitTest(EDA_TEXT self, VECTOR2I aPoint, int aAccuracy=0) -> bool
    TextHitTest(EDA_TEXT self, BOX2I aRect, bool aContains, int aAccuracy=0) -> bool

Reimplemented in pcbnew.PCB_TEXT.

Definition at line 2755 of file pcbnew.py.

Here is the caller graph for this function:

◆ ValidateHyperlink()

def pcbnew.EDA_TEXT.ValidateHyperlink (   aURL)
static
ValidateHyperlink(wxString aURL) -> bool

Definition at line 2851 of file pcbnew.py.

Property Documentation

◆ thisown

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

Definition at line 2483 of file pcbnew.py.


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