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

Public Member Functions

 __init__ (self, *args)
 
 Serialize (self, aContainer)
 
 Deserialize (self, aContainer)
 
 GetText (self)
 
 GetShownText (self, aAllowExtraText, aDepth=0)
 
 HasTextVars (self)
 
 SetText (self, aText)
 
 EvaluateText (self, aText)
 
 SetTextThickness (self, aWidth)
 
 GetTextThickness (self)
 
 GetTextThicknessProperty (self)
 
 SetAutoThickness (self, aAuto)
 
 GetAutoThickness (self)
 
 GetEffectiveTextPenWidth (self, aDefaultPenWidth=0)
 
 SetTextAngle (self, aAngle)
 
 GetTextAngle (self)
 
 SetTextAngleDegrees (self, aOrientation)
 
 GetTextAngleDegrees (self)
 
 SetItalic (self, aItalic)
 
 SetItalicFlag (self, aItalic)
 
 IsItalic (self)
 
 SetBold (self, aBold)
 
 SetBoldFlag (self, aBold)
 
 IsBold (self)
 
 SetVisible (self, aVisible)
 
 IsVisible (self)
 
 SetMirrored (self, isMirrored)
 
 IsMirrored (self)
 
 SetMultilineAllowed (self, aAllow)
 
 IsMultilineAllowed (self)
 
 SetHorizJustify (self, aType)
 
 GetHorizJustify (self)
 
 SetVertJustify (self, aType)
 
 GetVertJustify (self)
 
 SetKeepUpright (self, aKeepUpright)
 
 IsKeepUpright (self)
 
 FlipHJustify (self)
 
 SwapAttributes (self, aTradingPartner)
 
 SwapText (self, aTradingPartner)
 
 CopyText (self, aSrc)
 
 SetAttributes (self, *args)
 
 GetAttributes (self)
 
 Replace (self, aSearchData)
 
 IsDefaultFormatting (self)
 
 SetFont (self, aFont)
 
 GetFont (self)
 
 SetUnresolvedFontName (self, aFontName)
 
 ResolveFont (self, aEmbeddedFonts)
 
 GetFontName (self)
 
 SetFontProp (self, aFontName)
 
 GetFontProp (self)
 
 SetLineSpacing (self, aLineSpacing)
 
 GetLineSpacing (self)
 
 SetTextSize (self, aNewSize, aEnforceMinTextSize=True)
 
 GetTextSize (self)
 
 SetTextWidth (self, aWidth)
 
 GetTextWidth (self)
 
 SetTextHeight (self, aHeight)
 
 GetTextHeight (self)
 
 SetTextColor (self, aColor)
 
 GetTextColor (self)
 
 SetTextPos (self, aPoint)
 
 GetTextPos (self)
 
 SetTextX (self, aX)
 
 SetTextY (self, aY)
 
 Offset (self, aOffset)
 
 Empty (self)
 
 Print (self, aSettings, aOffset, aColor)
 
 GetEffectiveTextShape (self, *args)
 
 TextHitTest (self, *args)
 
 GetTextBox (self, aSettings, aLine=-1)
 
 GetInterline (self, aSettings)
 
 GetTextStyleName (self)
 
 GetLinePositions (self, aSettings, aPositions, aLineCount)
 
 Levenshtein (self, aOther)
 
 Similarity (self, aOther)
 
 Format (self, aFormatter, aControlBits)
 
 GetDrawRotation (self)
 
 GetDrawPos (self)
 
 GetDrawFont (self, aSettings)
 
 ClearRenderCache (self)
 
 ClearBoundingBoxCache (self)
 
 GetRenderCache (self, *args)
 
 SetupRenderCache (self, aResolvedText, aFont, aAngle, aOffset)
 
 AddRenderCacheGlyph (self, aPoly)
 
 Compare (self, aOther)
 
 __eq__ (self, aRhs)
 
 __lt__ (self, aRhs)
 
 __gt__ (self, aRhs)
 
 HasHyperlink (self)
 
 GetHyperlink (self)
 
 SetHyperlink (self, aLink)
 
 RemoveHyperlink (self)
 

Static Public Member Functions

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

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_TEXT class.

Definition at line 2549 of file pcbnew.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 2555 of file pcbnew.py.

Member Function Documentation

◆ __eq__()

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

Definition at line 2919 of file pcbnew.py.

◆ __gt__()

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

Definition at line 2927 of file pcbnew.py.

◆ __lt__()

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

Definition at line 2923 of file pcbnew.py.

◆ AddRenderCacheGlyph()

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

Definition at line 2911 of file pcbnew.py.

◆ ClearBoundingBoxCache()

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

Definition at line 2899 of file pcbnew.py.

◆ ClearRenderCache()

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

Definition at line 2895 of file pcbnew.py.

◆ Compare()

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

Definition at line 2915 of file pcbnew.py.

◆ CopyText()

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

Definition at line 2715 of file pcbnew.py.

◆ Deserialize()

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

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

Definition at line 2567 of file pcbnew.py.

◆ Empty()

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

Definition at line 2826 of file pcbnew.py.

◆ EvaluateText()

pcbnew.EDA_TEXT.EvaluateText ( self,
aText )
EvaluateText(EDA_TEXT self, wxString aText) -> wxString

Definition at line 2587 of file pcbnew.py.

◆ FlipHJustify()

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

Definition at line 2703 of file pcbnew.py.

◆ Format()

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

Definition at line 2879 of file pcbnew.py.

◆ GetAttributes()

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

Definition at line 2726 of file pcbnew.py.

◆ GetAutoThickness()

pcbnew.EDA_TEXT.GetAutoThickness ( self)
GetAutoThickness(EDA_TEXT self) -> bool

Definition at line 2607 of file pcbnew.py.

◆ GetDrawFont()

pcbnew.EDA_TEXT.GetDrawFont ( self,
aSettings )
GetDrawFont(EDA_TEXT self, RENDER_SETTINGS const * aSettings) -> KIFONT::FONT *

Definition at line 2891 of file pcbnew.py.

◆ GetDrawPos()

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

Reimplemented in pcbnew.PCB_TEXTBOX.

Definition at line 2887 of file pcbnew.py.

◆ GetDrawRotation()

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

Definition at line 2883 of file pcbnew.py.

◆ GetEffectiveTextPenWidth()

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

Definition at line 2611 of file pcbnew.py.

◆ GetEffectiveTextShape()

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 2844 of file pcbnew.py.

◆ GetFont()

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

Definition at line 2742 of file pcbnew.py.

◆ GetFontName()

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

Definition at line 2754 of file pcbnew.py.

◆ GetFontProp()

pcbnew.EDA_TEXT.GetFontProp ( self)
GetFontProp(EDA_TEXT self) -> wxString

Definition at line 2762 of file pcbnew.py.

◆ GetHorizJustify()

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

Definition at line 2683 of file pcbnew.py.

◆ GetHyperlink()

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

Definition at line 2935 of file pcbnew.py.

◆ GetInterline()

pcbnew.EDA_TEXT.GetInterline ( self,
aSettings )
GetInterline(EDA_TEXT self, RENDER_SETTINGS const * aSettings) -> int

Definition at line 2859 of file pcbnew.py.

◆ GetLinePositions()

pcbnew.EDA_TEXT.GetLinePositions ( self,
aSettings,
aPositions,
aLineCount )
GetLinePositions(EDA_TEXT self, RENDER_SETTINGS const * aSettings, VECTOR_VECTOR2I aPositions, int aLineCount)

Definition at line 2867 of file pcbnew.py.

◆ GetLineSpacing()

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

Definition at line 2770 of file pcbnew.py.

◆ GetRenderCache()

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 2903 of file pcbnew.py.

◆ GetShownText()

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 2575 of file pcbnew.py.

◆ GetText()

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

Definition at line 2571 of file pcbnew.py.

◆ GetTextAngle()

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

Definition at line 2619 of file pcbnew.py.

◆ GetTextAngleDegrees()

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

Definition at line 2627 of file pcbnew.py.

◆ GetTextBox()

pcbnew.EDA_TEXT.GetTextBox ( self,
aSettings,
aLine = -1 )
GetTextBox(EDA_TEXT self, RENDER_SETTINGS const * aSettings, int aLine=-1) -> BOX2I

Definition at line 2855 of file pcbnew.py.

◆ GetTextColor()

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

Definition at line 2802 of file pcbnew.py.

◆ GetTextHeight()

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

Definition at line 2794 of file pcbnew.py.

◆ GetTextPos()

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

Definition at line 2810 of file pcbnew.py.

◆ GetTextSize()

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

Definition at line 2778 of file pcbnew.py.

◆ GetTextStyleName()

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

Definition at line 2863 of file pcbnew.py.

◆ GetTextThickness()

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

Definition at line 2595 of file pcbnew.py.

◆ GetTextThicknessProperty()

pcbnew.EDA_TEXT.GetTextThicknessProperty ( self)
GetTextThicknessProperty(EDA_TEXT self) -> int

Definition at line 2599 of file pcbnew.py.

◆ GetTextWidth()

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

Definition at line 2786 of file pcbnew.py.

◆ GetVertJustify()

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

Definition at line 2691 of file pcbnew.py.

◆ GotoPageHref()

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

Definition at line 2958 of file pcbnew.py.

◆ HasHyperlink()

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

Definition at line 2931 of file pcbnew.py.

◆ HasTextVars()

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

Definition at line 2579 of file pcbnew.py.

◆ IsBold()

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

Definition at line 2651 of file pcbnew.py.

◆ IsDefaultFormatting()

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

Definition at line 2734 of file pcbnew.py.

◆ IsGotoPageHref()

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

Definition at line 2953 of file pcbnew.py.

◆ IsItalic()

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

Definition at line 2639 of file pcbnew.py.

◆ IsKeepUpright()

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

Definition at line 2699 of file pcbnew.py.

◆ IsMirrored()

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

Definition at line 2667 of file pcbnew.py.

◆ IsMultilineAllowed()

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

Definition at line 2675 of file pcbnew.py.

◆ IsVisible()

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

Definition at line 2659 of file pcbnew.py.

◆ Levenshtein()

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

Definition at line 2871 of file pcbnew.py.

◆ MapHorizJustify()

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

Definition at line 2831 of file pcbnew.py.

◆ MapVertJustify()

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

Definition at line 2836 of file pcbnew.py.

◆ Offset()

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

Definition at line 2822 of file pcbnew.py.

◆ Print()

pcbnew.EDA_TEXT.Print ( self,
aSettings,
aOffset,
aColor )
Print(EDA_TEXT self, RENDER_SETTINGS const * aSettings, VECTOR2I aOffset, COLOR4D aColor)

Definition at line 2840 of file pcbnew.py.

◆ RemoveHyperlink()

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

Definition at line 2943 of file pcbnew.py.

◆ Replace()

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

Definition at line 2730 of file pcbnew.py.

◆ ResolveFont()

pcbnew.EDA_TEXT.ResolveFont ( self,
aEmbeddedFonts )
ResolveFont(EDA_TEXT self, std::vector< wxString,std::allocator< wxString > > const * aEmbeddedFonts) -> bool

Definition at line 2750 of file pcbnew.py.

◆ Serialize()

pcbnew.EDA_TEXT.Serialize ( self,
aContainer )

◆ SetAttributes()

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 2719 of file pcbnew.py.

◆ SetAutoThickness()

pcbnew.EDA_TEXT.SetAutoThickness ( self,
aAuto )
SetAutoThickness(EDA_TEXT self, bool aAuto)

Definition at line 2603 of file pcbnew.py.

◆ SetBold()

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

Definition at line 2643 of file pcbnew.py.

◆ SetBoldFlag()

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

Definition at line 2647 of file pcbnew.py.

◆ SetFont()

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

Definition at line 2738 of file pcbnew.py.

◆ SetFontProp()

pcbnew.EDA_TEXT.SetFontProp ( self,
aFontName )
SetFontProp(EDA_TEXT self, wxString aFontName)

Definition at line 2758 of file pcbnew.py.

◆ SetHorizJustify()

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

Definition at line 2679 of file pcbnew.py.

◆ SetHyperlink()

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

Definition at line 2939 of file pcbnew.py.

◆ SetItalic()

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

Definition at line 2631 of file pcbnew.py.

◆ SetItalicFlag()

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

Definition at line 2635 of file pcbnew.py.

◆ SetKeepUpright()

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

Definition at line 2695 of file pcbnew.py.

◆ SetLineSpacing()

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

Definition at line 2766 of file pcbnew.py.

◆ SetMirrored()

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

Definition at line 2663 of file pcbnew.py.

◆ SetMultilineAllowed()

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

Definition at line 2671 of file pcbnew.py.

◆ SetText()

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

Definition at line 2583 of file pcbnew.py.

◆ SetTextAngle()

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

Definition at line 2615 of file pcbnew.py.

◆ SetTextAngleDegrees()

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

Definition at line 2623 of file pcbnew.py.

◆ SetTextColor()

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

Definition at line 2798 of file pcbnew.py.

◆ SetTextHeight()

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

Definition at line 2790 of file pcbnew.py.

◆ SetTextPos()

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

Definition at line 2806 of file pcbnew.py.

◆ SetTextSize()

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

Definition at line 2774 of file pcbnew.py.

◆ SetTextThickness()

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

Definition at line 2591 of file pcbnew.py.

◆ SetTextWidth()

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

Definition at line 2782 of file pcbnew.py.

◆ SetTextX()

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

Definition at line 2814 of file pcbnew.py.

◆ SetTextY()

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

Definition at line 2818 of file pcbnew.py.

◆ SetUnresolvedFontName()

pcbnew.EDA_TEXT.SetUnresolvedFontName ( self,
aFontName )
SetUnresolvedFontName(EDA_TEXT self, wxString aFontName)

Definition at line 2746 of file pcbnew.py.

◆ SetupRenderCache()

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 2907 of file pcbnew.py.

◆ SetVertJustify()

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

Definition at line 2687 of file pcbnew.py.

◆ SetVisible()

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

Definition at line 2655 of file pcbnew.py.

◆ Similarity()

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

Definition at line 2875 of file pcbnew.py.

◆ SwapAttributes()

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

Definition at line 2707 of file pcbnew.py.

◆ SwapText()

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

Definition at line 2711 of file pcbnew.py.

◆ TextHitTest()

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 2848 of file pcbnew.py.

◆ ValidateHyperlink()

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

Definition at line 2948 of file pcbnew.py.

Property Documentation

◆ thisown

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 2552 of file pcbnew.py.


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