# encoding: utf-8
# module wx._richtext
# from D:\project\A_Board\.venv\Lib\site-packages\wx\_richtext.cp313-win_amd64.pyd
# by generator 1.147
# no doc

# imports
import sip as __sip
import wx._adv as __wx__adv
import wx._core as __wx__core
import wx._html as __wx__html


from .RichTextObject import RichTextObject

class RichTextImage(RichTextObject):
    """
    RichTextImage(parent=None) -> None
    RichTextImage(image, parent=None, charStyle=None) -> None
    RichTextImage(imageBlock, parent=None, charStyle=None) -> None
    RichTextImage(obj) -> None
    
    This class implements a graphic object.
    """
    def CanEditProperties(self): # real signature unknown; restored from __doc__
        """
        CanEditProperties() -> bool
        
        Returns true if we can edit the object's properties via a GUI.
        """
        return False

    def Clone(self): # real signature unknown; restored from __doc__
        """
        Clone() -> RichTextObject
        
        Clones the image object.
        """
        return RichTextObject

    def Copy(self, obj): # real signature unknown; restored from __doc__
        """
        Copy(obj) -> None
        
        Copies the image object.
        """
        pass

    def Draw(self, dc, context, range, selection, rect, descent, style): # real signature unknown; restored from __doc__
        """
        Draw(dc, context, range, selection, rect, descent, style) -> bool
        
        Draw the item, within the given range.
        """
        return False

    def EditProperties(self, parent, buffer): # real signature unknown; restored from __doc__
        """
        EditProperties(parent, buffer) -> bool
        
        Edits the object's properties via a GUI.
        """
        return False

    def GetImageBlock(self): # real signature unknown; restored from __doc__
        """
        GetImageBlock() -> RichTextImageBlock
        
        Returns the image block containing the raw data.
        """
        return RichTextImageBlock

    def GetImageCache(self): # real signature unknown; restored from __doc__
        """
        GetImageCache() -> wx.Bitmap
        
        Returns the image cache (a scaled bitmap).
        """
        pass

    def GetImageState(self): # real signature unknown; restored from __doc__
        """
        GetImageState() -> int
        
        Gets the image state.
        """
        return 0

    def GetNaturalSize(self): # real signature unknown; restored from __doc__
        """
        GetNaturalSize() -> TextAttrSize
        
        Returns the 'natural' size for this object - the image size.
        """
        return TextAttrSize

    def GetOriginalImageSize(self): # real signature unknown; restored from __doc__
        """
        GetOriginalImageSize() -> wx.Size
        
        Gets the original image size.
        """
        pass

    def GetPropertiesMenuLabel(self): # real signature unknown; restored from __doc__
        """
        GetPropertiesMenuLabel() -> str
        
        Returns the label to be used for the properties context menu item.
        """
        return ""

    def GetRangeSize(self, range, size, descent, dc, context, flags, position=None, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        GetRangeSize(range, size, descent, dc, context, flags, position=wx.Point(0,0), parentSize=wx.DefaultSize, partialExtents=None) -> bool
        
        Returns the object size for the given range.
        """
        pass

    def GetXMLNodeName(self): # real signature unknown; restored from __doc__
        """
        GetXMLNodeName() -> str
        
        Returns the XML node name of this object.
        """
        return ""

    def ImportFromXML(self, buffer, node, handler, recurse): # real signature unknown; restored from __doc__
        """
        ImportFromXML(buffer, node, handler, recurse) -> bool
        
        Imports this object from XML.
        """
        return False

    def IsEmpty(self): # real signature unknown; restored from __doc__
        """
        IsEmpty() -> bool
        
        Returns true if the object is empty.
        """
        return False

    def IsFloatable(self): # real signature unknown; restored from __doc__
        """
        IsFloatable() -> bool
        
        Returns true if this class of object is floatable.
        """
        return False

    def Layout(self, dc, context, rect, parentRect, style): # real signature unknown; restored from __doc__
        """
        Layout(dc, context, rect, parentRect, style) -> bool
        
        Lay the item out at the specified position with the given size
        constraint.
        """
        return False

    def LoadAndScaleImageCache(self, image, sz, context, changed): # real signature unknown; restored from __doc__
        """
        LoadAndScaleImageCache(image, sz, context, changed) -> Tuple[bool, bool]
        
        Do the loading and scaling.
        """
        pass

    def LoadImageCache(self, dc, context, retImageSize, resetCache=False, parentSize=None): # real signature unknown; restored from __doc__
        """
        LoadImageCache(dc, context, retImageSize, resetCache=False, parentSize=wx.DefaultSize) -> bool
        
        Creates a cached image at the required size.
        """
        return False

    def ResetImageCache(self): # real signature unknown; restored from __doc__
        """
        ResetImageCache() -> None
        
        Resets the image cache.
        """
        pass

    def SetImageCache(self, bitmap): # real signature unknown; restored from __doc__
        """
        SetImageCache(bitmap) -> None
        
        Sets the image cache.
        """
        pass

    def SetImageState(self, state): # real signature unknown; restored from __doc__
        """
        SetImageState(state) -> None
        
        Sets the image state.
        """
        pass

    def SetOriginalImageSize(self, sz): # real signature unknown; restored from __doc__
        """
        SetOriginalImageSize(sz) -> None
        
        Sets the original image size.
        """
        pass

    def UsesParagraphAttributes(self): # real signature unknown; restored from __doc__
        """
        UsesParagraphAttributes() -> bool
        
        Returns true if this object takes note of paragraph attributes (text
        and image objects don't).
        """
        return False

    def __init__(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        pass

    ImageBlock = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetImageBlock() -> RichTextImageBlock

Returns the image block containing the raw data."""

    ImageCache = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetImageCache() -> wx.Bitmap

Returns the image cache (a scaled bitmap)."""

    ImageState = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetImageState() -> int

Gets the image state."""

    NaturalSize = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetNaturalSize() -> TextAttrSize

Returns the 'natural' size for this object - the image size."""

    OriginalImageSize = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetOriginalImageSize() -> wx.Size

Gets the original image size."""

    PropertiesMenuLabel = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetPropertiesMenuLabel() -> str

Returns the label to be used for the properties context menu item."""

    XMLNodeName = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetXMLNodeName() -> str

Returns the XML node name of this object."""



