
     h                     4    d dl mZ d dlmZ  G d dee      Zy)    )BaseElement)XLinkc                   0     e Zd ZdZdZd fd	ZddZ xZS )
SolidColora  
    The `solidColor` element is a paint server that provides a single color with opacity.
    It can be referenced like the other paint servers (i.e. gradients).
    The `color` parameter specifies the color that shall be used for this `solidColor` element.
    The keyword ``"currentColor"`` can be specified in the same manner as within a <paint> specification for the `fill`
    and `stroke` properties. The `opacity` parameter defines the opacity of the `solidColor`.
    
solidColorc                     t        t        | 
  di | | j                  dk7  rt	        d      || d<   ||| d<   | j
                  r1| j                  j                  | j                  | j                         yy)z
        :param color: solid color like the other paint servers (i.e. gradients).
        :param float opacity: opacity of the solid color in the range `0.0` (fully transparent) to `1.0` (fully opaque)

        tinyz8Paint server 'solidColor' requires the Tiny SVG profile.zsolid-colorNzsolid-opacity )
superr   __init__profile	TypeErrordebug	validatorcheck_all_svg_attribute_valueselementnameattribs)selfcoloropacityextra	__class__s       o/home/developers/rajanand/mypropertyqr-fmb-refixing-v2/venv/lib/python3.12/site-packages/svgwrite/solidcolor.pyr   zSolidColor.__init__   ss     	j$(151<<6!VWW#]$+D!::NN99$:J:JDLLY     c                 ,    | j                         d|S )z( Returns the <FuncIRI> of the gradient.  )get_funciri)r   defaults     r   get_paint_serverzSolidColor.get_paint_server'   s    **,g66r   )currentColorN)none)__name__
__module____qualname____doc__r   r   r   __classcell__)r   s   @r   r   r      s     KZ 7r   r   N)svgwrite.baser   svgwrite.mixinsr   r   r
   r   r   <module>r)      s    & !7e 7r   