
    p"h                     4    S SK Jr  S SKJr   " S S\\5      rg)    )BaseElement)XLinkc                   >   ^  \ rS rSrSrSrSU 4S jjrSS jrSrU =r	$ )	
SolidColor   a  
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                    > [         [        U ]
  " S0 UD6  U R                  S:w  a  [	        S5      eXS'   Ub  X S'   U R
                  (       a1  U R                  R                  U R                  U R                  5        gg)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       E/var/www/html/env/lib/python3.13/site-packages/svgwrite/solidcolor.pyr   SolidColor.__init__   so     	j$(151<<6!VWW#]$+!::NN99$:J:JDLLY     c                 0    U R                  5       < SU< 3$ )z'Returns the <FuncIRI> of the gradient.  )get_funciri)r   defaults     r   get_paint_serverSolidColor.get_paint_server'   s    **,g66r   r   )currentColorN)none)
__name__
__module____qualname____firstlineno____doc__r   r   r!   __static_attributes____classcell__)r   s   @r   r   r      s     KZ 7 7r   r   N)svgwrite.baser   svgwrite.mixinsr   r   r   r   r   <module>r.      s    & !7e 7r   