# encoding: utf-8
# module vtkmodules.vtkInteractionWidgets
# from C:\Users\xukai\Downloads\发票2\venv\Lib\site-packages\vtkmodules\vtkInteractionWidgets.cp311-win_amd64.pyd
# by generator 1.147
# no doc

# imports
import vtkmodules.vtkCommonCore as __vtkmodules_vtkCommonCore
import vtkmodules.vtkCommonExecutionModel as __vtkmodules_vtkCommonExecutionModel
import vtkmodules.vtkFiltersSources as __vtkmodules_vtkFiltersSources
import vtkmodules.vtkRenderingContext2D as __vtkmodules_vtkRenderingContext2D
import vtkmodules.vtkRenderingCore as __vtkmodules_vtkRenderingCore


from .vtkBorderRepresentation import vtkBorderRepresentation

class vtkTextRepresentation(vtkBorderRepresentation):
    """
    vtkTextRepresentation - represent text for vtkTextWidget
    
    Superclass: vtkBorderRepresentation
    
    This class represents text for a vtkTextWidget.  This class provides
    support for interactively placing text on the 2D overlay plane. The
    text is defined by an instance of vtkTextActor.
    
    @sa
    vtkTextRepresentation vtkBorderWidget vtkAbstractWidget
    vtkWidgetRepresentation
    """
    def BuildRepresentation(self): # real signature unknown; restored from __doc__
        """
        BuildRepresentation(self) -> None
        C++: void BuildRepresentation() override;
        
        Satisfy the superclasses API.
        """
        pass

    def ExecuteTextActorModifiedEvent(self, obj, enumEvent, p): # real signature unknown; restored from __doc__
        """
        ExecuteTextActorModifiedEvent(self, obj:vtkObject, enumEvent:int,
            p:Pointer) -> None
        C++: void ExecuteTextActorModifiedEvent(vtkObject *obj,
            unsigned long enumEvent, void *p)
        """
        pass

    def ExecuteTextPropertyModifiedEvent(self, obj, enumEvent, p): # real signature unknown; restored from __doc__
        """
        ExecuteTextPropertyModifiedEvent(self, obj:vtkObject,
            enumEvent:int, p:Pointer) -> None
        C++: void ExecuteTextPropertyModifiedEvent(vtkObject *obj,
            unsigned long enumEvent, void *p)
        
        Internal. Execute events observed by internal observer
        """
        pass

    def GetActors2D(self, __a): # real signature unknown; restored from __doc__
        """
        GetActors2D(self, __a:vtkPropCollection) -> None
        C++: void GetActors2D(vtkPropCollection *) override;
        
        These methods are necessary to make this representation behave as
        a vtkProp.
        """
        pass

    def GetNumberOfGenerationsFromBase(self, type): # real signature unknown; restored from __doc__
        """
        GetNumberOfGenerationsFromBase(self, type:str) -> int
        C++: vtkIdType GetNumberOfGenerationsFromBase(const char *type)
            override;
        
        Standard methods for instances of this class.
        """
        return 0

    def GetNumberOfGenerationsFromBaseType(self, type): # real signature unknown; restored from __doc__
        """
        GetNumberOfGenerationsFromBaseType(type:str) -> int
        C++: static vtkIdType GetNumberOfGenerationsFromBaseType(
            const char *type)
        
        Standard methods for instances of this class.
        """
        return 0

    def GetPaddingBottom(self): # real signature unknown; restored from __doc__
        """
        GetPaddingBottom(self) -> int
        C++: virtual int GetPaddingBottom()
        """
        return 0

    def GetPaddingBottomMaxValue(self): # real signature unknown; restored from __doc__
        """
        GetPaddingBottomMaxValue(self) -> int
        C++: virtual int GetPaddingBottomMaxValue()
        """
        return 0

    def GetPaddingBottomMinValue(self): # real signature unknown; restored from __doc__
        """
        GetPaddingBottomMinValue(self) -> int
        C++: virtual int GetPaddingBottomMinValue()
        """
        return 0

    def GetPaddingLeft(self): # real signature unknown; restored from __doc__
        """
        GetPaddingLeft(self) -> int
        C++: virtual int GetPaddingLeft()
        """
        return 0

    def GetPaddingLeftMaxValue(self): # real signature unknown; restored from __doc__
        """
        GetPaddingLeftMaxValue(self) -> int
        C++: virtual int GetPaddingLeftMaxValue()
        """
        return 0

    def GetPaddingLeftMinValue(self): # real signature unknown; restored from __doc__
        """
        GetPaddingLeftMinValue(self) -> int
        C++: virtual int GetPaddingLeftMinValue()
        """
        return 0

    def GetPaddingRight(self): # real signature unknown; restored from __doc__
        """
        GetPaddingRight(self) -> int
        C++: virtual int GetPaddingRight()
        """
        return 0

    def GetPaddingRightMaxValue(self): # real signature unknown; restored from __doc__
        """
        GetPaddingRightMaxValue(self) -> int
        C++: virtual int GetPaddingRightMaxValue()
        """
        return 0

    def GetPaddingRightMinValue(self): # real signature unknown; restored from __doc__
        """
        GetPaddingRightMinValue(self) -> int
        C++: virtual int GetPaddingRightMinValue()
        """
        return 0

    def GetPaddingTop(self): # real signature unknown; restored from __doc__
        """
        GetPaddingTop(self) -> int
        C++: virtual int GetPaddingTop()
        """
        return 0

    def GetPaddingTopMaxValue(self): # real signature unknown; restored from __doc__
        """
        GetPaddingTopMaxValue(self) -> int
        C++: virtual int GetPaddingTopMaxValue()
        """
        return 0

    def GetPaddingTopMinValue(self): # real signature unknown; restored from __doc__
        """
        GetPaddingTopMinValue(self) -> int
        C++: virtual int GetPaddingTopMinValue()
        """
        return 0

    def GetSize(self, size, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        GetSize(self, size:[float, float]) -> None
        C++: void GetSize(double size[2]) override;
        
        Subclasses should implement these methods. See the superclasses'
        documentation for more information.
        """
        pass

    def GetText(self): # real signature unknown; restored from __doc__
        """
        GetText(self) -> str
        C++: const char *GetText()
        """
        return ""

    def GetTextActor(self): # real signature unknown; restored from __doc__
        """
        GetTextActor(self) -> vtkTextActor
        C++: virtual vtkTextActor *GetTextActor()
        """
        pass

    def HasTranslucentPolygonalGeometry(self): # real signature unknown; restored from __doc__
        """
        HasTranslucentPolygonalGeometry(self) -> int
        C++: vtkTypeBool HasTranslucentPolygonalGeometry() override;
        
        These methods are necessary to make this representation behave as
        a vtkProp.
        """
        return 0

    def IsA(self, type): # real signature unknown; restored from __doc__
        """
        IsA(self, type:str) -> int
        C++: vtkTypeBool IsA(const char *type) override;
        
        Standard methods for instances of this class.
        """
        return 0

    def IsTypeOf(self, type): # real signature unknown; restored from __doc__
        """
        IsTypeOf(type:str) -> int
        C++: static vtkTypeBool IsTypeOf(const char *type)
        
        Standard methods for instances of this class.
        """
        return 0

    def NewInstance(self): # real signature unknown; restored from __doc__
        """
        NewInstance(self) -> vtkTextRepresentation
        C++: vtkTextRepresentation *NewInstance()
        
        Standard methods for instances of this class.
        """
        return vtkTextRepresentation

    def ReleaseGraphicsResources(self, __a): # real signature unknown; restored from __doc__
        """
        ReleaseGraphicsResources(self, __a:vtkWindow) -> None
        C++: void ReleaseGraphicsResources(vtkWindow *) override;
        
        These methods are necessary to make this representation behave as
        a vtkProp.
        """
        pass

    def RenderOpaqueGeometry(self, __a): # real signature unknown; restored from __doc__
        """
        RenderOpaqueGeometry(self, __a:vtkViewport) -> int
        C++: int RenderOpaqueGeometry(vtkViewport *) override;
        
        These methods are necessary to make this representation behave as
        a vtkProp.
        """
        return 0

    def RenderOverlay(self, __a): # real signature unknown; restored from __doc__
        """
        RenderOverlay(self, __a:vtkViewport) -> int
        C++: int RenderOverlay(vtkViewport *) override;
        
        These methods are necessary to make this representation behave as
        a vtkProp.
        """
        return 0

    def RenderTranslucentPolygonalGeometry(self, __a): # real signature unknown; restored from __doc__
        """
        RenderTranslucentPolygonalGeometry(self, __a:vtkViewport) -> int
        C++: int RenderTranslucentPolygonalGeometry(vtkViewport *)
            override;
        
        These methods are necessary to make this representation behave as
        a vtkProp.
        """
        return 0

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkTextRepresentation
        C++: static vtkTextRepresentation *SafeDownCast(vtkObjectBase *o)
        
        Standard methods for instances of this class.
        """
        return vtkTextRepresentation

    def SetPadding(self, padding): # real signature unknown; restored from __doc__
        """
        SetPadding(self, padding:int) -> None
        C++: void SetPadding(int padding)
        
        Set the padding between the text and the left/right/top/bottom
        border, in pixels unit. Default is 0.
        """
        pass

    def SetPaddingBottom(self, _arg): # real signature unknown; restored from __doc__
        """
        SetPaddingBottom(self, _arg:int) -> None
        C++: virtual void SetPaddingBottom(int _arg)
        
        Set/Get the padding between the text and the bottom border, in
        pixels unit. Default is 0.
        """
        pass

    def SetPaddingLeft(self, _arg): # real signature unknown; restored from __doc__
        """
        SetPaddingLeft(self, _arg:int) -> None
        C++: virtual void SetPaddingLeft(int _arg)
        
        Set/Get the padding between the text and the left border, in
        pixels unit. Default is 0.
        """
        pass

    def SetPaddingRight(self, _arg): # real signature unknown; restored from __doc__
        """
        SetPaddingRight(self, _arg:int) -> None
        C++: virtual void SetPaddingRight(int _arg)
        
        Set/Get the padding between the text and the right border, in
        pixels unit. Default is 0.
        """
        pass

    def SetPaddingTop(self, _arg): # real signature unknown; restored from __doc__
        """
        SetPaddingTop(self, _arg:int) -> None
        C++: virtual void SetPaddingTop(int _arg)
        
        Set/Get the padding between the text and the top border, in
        pixels unit. Default is 0.
        """
        pass

    def SetPosition(self, x, y): # real signature unknown; restored from __doc__
        """
        SetPosition(self, x:float, y:float) -> None
        C++: void SetPosition(double x, double y) override;
        SetPosition(self, pos:[float, float]) -> None
        C++: void SetPosition(double pos[2]) override;
        
        Set the text position, by overriding the same function of
        vtkBorderRepresentation so that the Modified() will be called.
        """
        pass

    def SetText(self, text): # real signature unknown; restored from __doc__
        """
        SetText(self, text:str) -> None
        C++: void SetText(const char *text)
        
        Get/Set the text string display by this representation.
        """
        pass

    def SetTextActor(self, textActor): # real signature unknown; restored from __doc__
        """
        SetTextActor(self, textActor:vtkTextActor) -> None
        C++: void SetTextActor(vtkTextActor *textActor)
        
        Specify the vtkTextActor to manage. If not specified, then one is
        automatically created.
        """
        pass

    def SetWindowLocation(self, enumLocation): # real signature unknown; restored from __doc__
        """
        SetWindowLocation(self, enumLocation:int) -> None
        C++: void SetWindowLocation(int enumLocation) override;
        
        Set the text position, by enumeration (
        vtkBorderRepresentation::AnyLocation = 0,
        vtkBorderRepresentation::LowerLeftCorner,
        vtkBorderRepresentation::LowerRightCorner,
        vtkBorderRepresentation::LowerCenter,
        vtkBorderRepresentation::UpperLeftCorner,
        vtkBorderRepresentation::UpperRightCorner,
        vtkBorderRepresentation::UpperCenter) related to the render
        window
        """
        pass

    def __delattr__(self, *args, **kwargs): # real signature unknown
        """ Implement delattr(self, name). """
        pass

    def __getattribute__(self, *args, **kwargs): # real signature unknown
        """ Return getattr(self, name). """
        pass

    def __init__(self, *args, **kwargs): # real signature unknown
        pass

    @staticmethod # known case of __new__
    def __new__(*args, **kwargs): # real signature unknown
        """ Create and return a new object.  See help(type) for accurate signature. """
        pass

    def __repr__(self, *args, **kwargs): # real signature unknown
        """ Return repr(self). """
        pass

    def __setattr__(self, *args, **kwargs): # real signature unknown
        """ Implement setattr(self, name, value). """
        pass

    def __str__(self, *args, **kwargs): # real signature unknown
        """ Return str(self). """
        pass

    __this__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """Pointer to the C++ object."""


    __dict__ = None # (!) real value is "mappingproxy({'__vtkname__': 'vtkTextRepresentation', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'SetTextActor': <method 'SetTextActor' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'GetTextActor': <method 'GetTextActor' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'SetText': <method 'SetText' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'GetText': <method 'GetText' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'BuildRepresentation': <method 'BuildRepresentation' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'GetSize': <method 'GetSize' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'GetActors2D': <method 'GetActors2D' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'ReleaseGraphicsResources': <method 'ReleaseGraphicsResources' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'RenderOverlay': <method 'RenderOverlay' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'RenderOpaqueGeometry': <method 'RenderOpaqueGeometry' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'RenderTranslucentPolygonalGeometry': <method 'RenderTranslucentPolygonalGeometry' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'HasTranslucentPolygonalGeometry': <method 'HasTranslucentPolygonalGeometry' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'SetWindowLocation': <method 'SetWindowLocation' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'SetPosition': <method 'SetPosition' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'ExecuteTextPropertyModifiedEvent': <method 'ExecuteTextPropertyModifiedEvent' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'ExecuteTextActorModifiedEvent': <method 'ExecuteTextActorModifiedEvent' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'SetPaddingLeft': <method 'SetPaddingLeft' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'GetPaddingLeftMinValue': <method 'GetPaddingLeftMinValue' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'GetPaddingLeftMaxValue': <method 'GetPaddingLeftMaxValue' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'GetPaddingLeft': <method 'GetPaddingLeft' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'SetPaddingRight': <method 'SetPaddingRight' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'GetPaddingRightMinValue': <method 'GetPaddingRightMinValue' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'GetPaddingRightMaxValue': <method 'GetPaddingRightMaxValue' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'GetPaddingRight': <method 'GetPaddingRight' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'SetPaddingTop': <method 'SetPaddingTop' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'GetPaddingTopMinValue': <method 'GetPaddingTopMinValue' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'GetPaddingTopMaxValue': <method 'GetPaddingTopMaxValue' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'GetPaddingTop': <method 'GetPaddingTop' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'SetPaddingBottom': <method 'SetPaddingBottom' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'GetPaddingBottomMinValue': <method 'GetPaddingBottomMinValue' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'GetPaddingBottomMaxValue': <method 'GetPaddingBottomMaxValue' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'GetPaddingBottom': <method 'GetPaddingBottom' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, 'SetPadding': <method 'SetPadding' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF81D667B00>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkInteractionWidgets.vtkTextRepresentation' objects>, '__doc__': 'vtkTextRepresentation - represent text for vtkTextWidget\\n\\nSuperclass: vtkBorderRepresentation\\n\\nThis class represents text for a vtkTextWidget.  This class provides\\nsupport for interactively placing text on the 2D overlay plane. The\\ntext is defined by an instance of vtkTextActor.\\n\\n@sa\\nvtkTextRepresentation vtkBorderWidget vtkAbstractWidget\\nvtkWidgetRepresentation\\n\\n'})"
    __vtkname__ = 'vtkTextRepresentation'


