"Aĸ$ <ddlmZddlmZGddeeZdS)) BaseElement)XLinkc0eZdZdZdZdfd Zd dZxZS) 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 specification for the `fill` and `stroke` properties. The `opacity` parameter defines the opacity of the `solidColor`. solidColor currentColorNc tt|jdi||jdkrt d||d<|||d<|jr'|j|j|j dSdS)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 TypeErrordebug validatorcheck_all_svg_attribute_values elementnameattribs)selfcoloropacityextra __class__s e/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/svgwrite/solidcolor.pyr zSolidColor.__init__s )j$(115111 <6 ! !VWW W#]  $+D ! : Z N 9 9$:JDL Y Y Y Y Y Z Znonec4|d|S)z( Returns the of the gradient.  ) get_funciri)rdefaults rget_paint_serverzSolidColor.get_paint_server's!**,,,,gg66r)rN)r)__name__ __module__ __qualname____doc__rr r! __classcell__)rs@rrr shKZZZZZZ 77777777rrN) svgwrite.basersvgwrite.mixinsrrr rrr)sa&%%%%%!!!!!!77777e77777r