Пример #1
0
 def __init__(self, surfaceScale=None, diffuseConstant=None,
              kernelUnitLength=None, **kwargs):
     BaseElement.__init__(self, 'feDiffuseLighting')
     self.set_surfaceScale(surfaceScale)
     self.set_diffuseConstant(diffuseConstant)
     self.set_kernelUnitLength(kernelUnitLength)
     self.setKWARGS(**kwargs)
Пример #2
0
 def __init__(self, x=None, y=None, width=None, height=None, **kwargs):
     BaseElement.__init__(self, "feMerge")
     self.set_x(x)
     self.set_y(y)
     self.set_height(height)
     self.set_width(width)
     self.setKWARGS(**kwargs)
Пример #3
0
 def __init__(self, in2=None, scale=None, xChannelSelector=None, yChannelSelector=None, **kwargs):
     BaseElement.__init__(self, "feDisplacementMap")
     self.set_in2(in2)
     self.set_scale(scale)
     self.set_xChannelSelector(xChannelSelector)
     self.set_yChannelSelector(yChannelSelector)
     self.setKWARGS(**kwargs)
Пример #4
0
 def __init__(self, anID=None, transform=None, clipPathUnits=None,
              **kwargs):
     BaseElement.__init__(self, 'clipPath')
     self.set_id(anID)
     self.set_transform(transform)
     self.set_clipPathUnits(clipPathUnits)
     self.setKWARGS(**kwargs)
Пример #5
0
 def __init__(self, x1=None, y1=None, x2=None, y2=None, **kwargs):
     BaseElement.__init__(self, 'linearGradient')
     self.set_x1(x1)
     self.set_y1(y1)
     self.set_x2(x2)
     self.set_y2(y2)
     self.setKWARGS(**kwargs)
Пример #6
0
 def __init__(self, x=None, y=None, width=None, height=None, **kwargs):
     BaseElement.__init__(self, 'feMerge')
     self.set_x(x)
     self.set_y(y)
     self.set_height(height)
     self.set_width(width)
     self.setKWARGS(**kwargs)
Пример #7
0
 def __init__(self, cx=None, cy=None, rx=None, ry=None, **kwargs):
     BaseElement.__init__(self, 'ellipse')
     self.set_cx(cx)
     self.set_cy(cy)
     self.set_rx(rx)
     self.set_ry(ry)
     self.setKWARGS(**kwargs)
Пример #8
0
 def __init__(self, cx=None, cy=None, rx=None, ry=None, **kwargs):
     BaseElement.__init__(self, 'ellipse')
     self.set_cx(cx)
     self.set_cy(cy)
     self.set_rx(rx)
     self.set_ry(ry)
     self.setKWARGS(**kwargs)
Пример #9
0
 def __init__(self, pathData="",pathLength=None,style=None, focusable=None):
     BaseElement.__init__(self,'path')
     if pathData!='' and not pathData.endswith(' '):
         pathData+=' '
     self.set_d(pathData)
     if style!=None:
         self.set_style(style)
Пример #10
0
 def __init__(self,cx='50%',cy='50%',r='50%', fx='50%',fy='50%'):
     BaseElement.__init__(self,'radialGradient')
     self.set_cx(cx)
     self.set_cy(cy)
     self.set_fx(fx)
     self.set_fy(fy)
     self.set_r(r)
Пример #11
0
 def __init__(self, x=None, y=None, width=None, height=None, preserveAspectRatio=None):
     BaseElement.__init__(self,'image')
     self.set_x(x)
     self.set_y(y)
     self.set_height(height)
     self.set_width(width)
     self.set_preserveAspectRatio(preserveAspectRatio)
 def __init__(self, x1=None, y1=None, x2=None, y2=None, **kwargs):
     BaseElement.__init__(self, 'linearGradient')
     self.set_x1(x1)
     self.set_y1(y1)
     self.set_x2(x2)
     self.set_y2(y2)
     self.setKWARGS(**kwargs)
 def __init__(self, pathData="",pathLength=None, style=None, focusable=None, **kwargs):
     BaseElement.__init__(self,'path')
     if pathData!='' and not pathData.endswith(' '):
         pathData+=' '
     self.set_d(pathData)
     if style!=None:
         self.set_style(style)
     self.setKWARGS(**kwargs)
Пример #14
0
 def __init__(self, in2=None, scale=None, xChannelSelector=None,
              yChannelSelector=None, **kwargs):
     BaseElement.__init__(self, 'feDisplacementMap')
     self.set_in2(in2)
     self.set_scale(scale)
     self.set_xChannelSelector(xChannelSelector)
     self.set_yChannelSelector(yChannelSelector)
     self.setKWARGS(**kwargs)
Пример #15
0
 def __init__(self, lighting_color=None, surfaceScale=None, specularConstant=None, specularExponent=None, kernelUnitLength=None, **kwargs):
     BaseElement.__init__(self, 'feSpecularLighting')
     self.set_lighting_color(lighting_color)
     self.set_surfaceScale(surfaceScale)
     self.set_specularConstant(specularConstant)
     self.set_specularExponent(specularExponent)
     self.set_kernelUnitLength(kernelUnitLength)
     self.setKWARGS(**kwargs)
Пример #16
0
 def __init__(self, x=None, y=None, width=None, height=None, rx=None, ry=None):
     BaseElement.__init__(self,'rect')
     self.set_x(x)
     self.set_y(y)
     self.set_height(height)
     self.set_width(width)
     self.set_rx(rx)
     self.set_ry(ry)
Пример #17
0
 def __init__(self, xlink_href=None, x=None, y=None, width=None, height=None, result=None, **kwargs):
     BaseElement.__init__(self, "feImage")
     self.set_xlink_href(xlink_href)
     self.set_x(x)
     self.set_y(y)
     self.set_height(height)
     self.set_width(width)
     self.set_result(result)
     self.setKWARGS(**kwargs)
Пример #18
0
 def __init__(self, in2=None, operator=None, k1=None, k2=None, k3=None, k4=None, **kwargs):
     BaseElement.__init__(self, "feComposite")
     self.set_in2(in2)
     self.set_k1(k1)
     self.set_k2(k2)
     self.set_k3(k3)
     self.set_k4(k4)
     self.set_operator(operator)
     self.setKWARGS(**kwargs)
Пример #19
0
 def __init__(self, inValue=None, x=None, y=None, width=None, height=None, stdDeviation=None, **kwargs):
     BaseElement.__init__(self, "feGaussianBlur")
     self.set_x(x)
     self.set_y(y)
     self.set_height(height)
     self.set_width(width)
     self.set_in(inValue)
     self.set_stdDeviation(stdDeviation)
     self.setKWARGS(**kwargs)
Пример #20
0
 def __init__(self, x=None, y=None, dx=None, dy=None, rotate=None, textLength=None, lengthAdjust=None):
     BaseElement.__init__(self, "tspan")
     self.set_x(x)
     self.set_y(y)
     self.set_dx(dx)
     self.set_dy(dy)
     self.set_rotate(rotate)
     self.set_textLength(textLength)
     self.set_lengthAdjust(lengthAdjust)
Пример #21
0
 def __init__(self, x=None, y=None, dx=None, dy=None, rotate=None, textLength=None, lengthAdjust=None):
     BaseElement.__init__(self,'tspan')
     self.set_x(x)
     self.set_y(y)
     self.set_dx(dx)
     self.set_dy(dy)
     self.set_rotate(rotate)
     self.set_textLength(textLength)
     self.set_lengthAdjust(lengthAdjust)
 def __init__(self, x=None, y=None, width=None, height=None, rx=None, ry=None, **kwargs):
     BaseElement.__init__(self,'rect')
     self.set_x(x)
     self.set_y(y)
     self.set_height(height)
     self.set_width(width)
     self.set_rx(rx)
     self.set_ry(ry)
     self.setKWARGS(**kwargs)
Пример #23
0
 def __init__(self, x=None, y=None, width=None, height=None):
     BaseElement.__init__(self,'svg')
     self.set_xmlns('http://www.w3.org/2000/svg')
     self.set_xmlns_xlink('http://www.w3.org/1999/xlink')
     self.set_version('1.1')
     self.set_x(x)
     self.set_y(y)
     self.set_height(height)
     self.set_width(width)
Пример #24
0
 def __init__(self, x=None, y=None, width=None, height=None, flood_color=None, flood_opacity=None, **kwargs):
     BaseElement.__init__(self, "feFlood")
     self.set_x(x)
     self.set_y(y)
     self.set_height(height)
     self.set_width(width)
     self.set_flood_color(flood_color)
     self.set_flood_opacity(flood_opacity)
     self.setKWARGS(**kwargs)
Пример #25
0
 def __init__(self, x=None, y=None, width=None, height=None, operator=None, radius=None, **kwargs):
     BaseElement.__init__(self, "feMorphology")
     self.set_x(x)
     self.set_y(y)
     self.set_height(height)
     self.set_width(width)
     self.set_operator(operator)
     self.set_radius(radius)
     self.setKWARGS(**kwargs)
Пример #26
0
 def __init__(self, type=None, tableValues=None, slope=None, intercept=None, amplitude=None, exponent=None, offset=None, **kwargs):
     BaseElement.__init__(self, 'feFuncA')
     self.set_type(type)
     self.set_tableValues(tableValues)
     self.set_slope(slope)
     self.set_intercept(intercept)
     self.set_amplitude(amplitude)
     self.set_exponent(exponent)
     self.set_offset(offset)
     self.setKWARGS(**kwargs)
Пример #27
0
 def __init__(self, x=None, y=None, width=None, height=None, filterRes=None, filterUnits=None, primitiveUnits=None, **kwargs):
     BaseElement.__init__(self, 'filter')
     self.set_x(x)
     self.set_y(y)
     self.set_height(height)
     self.set_width(width)
     self.set_filterRes(filterRes)
     self.set_filterUnits(filterUnits)
     self.set_primitiveUnits(primitiveUnits)
     self.setKWARGS(**kwargs)
Пример #28
0
 def __init__(self, x=None, y=None, width=None, height=None,
              flood_color=None, flood_opacity=None, **kwargs):
     BaseElement.__init__(self, 'feFlood')
     self.set_x(x)
     self.set_y(y)
     self.set_height(height)
     self.set_width(width)
     self.set_flood_color(flood_color)
     self.set_flood_opacity(flood_opacity)
     self.setKWARGS(**kwargs)
Пример #29
0
 def __init__(self, x=None, y=None, dx=None, dy=None, rotate=None, textLength=None, lengthAdjust=None, **kwargs):
     BaseElement.__init__(self, 'tspan')
     self.set_x(x)
     self.set_y(y)
     self.set_dx(dx)
     self.set_dy(dy)
     self.set_rotate(rotate)
     self.set_textLength(textLength)
     self.set_lengthAdjust(lengthAdjust)
     self.setKWARGS(**kwargs)
Пример #30
0
 def __init__(self, x=None, y=None, width=None, height=None, operator=None,
              radius=None, **kwargs):
     BaseElement.__init__(self, 'feMorphology')
     self.set_x(x)
     self.set_y(y)
     self.set_height(height)
     self.set_width(width)
     self.set_operator(operator)
     self.set_radius(radius)
     self.setKWARGS(**kwargs)
Пример #31
0
 def __init__(self, in2=None, operator=None, k1=None, k2=None, k3=None,
              k4=None, **kwargs):
     BaseElement.__init__(self, 'feComposite')
     self.set_in2(in2)
     self.set_k1(k1)
     self.set_k2(k2)
     self.set_k3(k3)
     self.set_k4(k4)
     self.set_operator(operator)
     self.setKWARGS(**kwargs)
Пример #32
0
 def __init__(self,
              anID=None,
              transform=None,
              clipPathUnits=None,
              **kwargs):
     BaseElement.__init__(self, 'clipPath')
     self.set_id(anID)
     self.set_transform(transform)
     self.set_clipPathUnits(clipPathUnits)
     self.setKWARGS(**kwargs)
Пример #33
0
 def __init__(self, lighting_color=None, surfaceScale=None,
              specularConstant=None, specularExponent=None,
              kernelUnitLength=None, **kwargs):
     BaseElement.__init__(self, 'feSpecularLighting')
     self.set_lighting_color(lighting_color)
     self.set_surfaceScale(surfaceScale)
     self.set_specularConstant(specularConstant)
     self.set_specularExponent(specularExponent)
     self.set_kernelUnitLength(kernelUnitLength)
     self.setKWARGS(**kwargs)
Пример #34
0
 def __init__(self, xlink_href=None, x=None, y=None, width=None,
              height=None, result=None, **kwargs):
     BaseElement.__init__(self, 'feImage')
     self.set_xlink_href(xlink_href)
     self.set_x(x)
     self.set_y(y)
     self.set_height(height)
     self.set_width(width)
     self.set_result(result)
     self.setKWARGS(**kwargs)
Пример #35
0
 def __init__(self, inValue=None, x=None, y=None, width=None, height=None,
              stdDeviation=None, **kwargs):
     BaseElement.__init__(self, 'feGaussianBlur')
     self.set_x(x)
     self.set_y(y)
     self.set_height(height)
     self.set_width(width)
     self.set_in(inValue)
     self.set_stdDeviation(stdDeviation)
     self.setKWARGS(**kwargs)
Пример #36
0
 def __init__(self, content=None, x=None, y=None, dx=None, dy=None, rotate=None, textLength=None, lengthAdjust=None):
     BaseElement.__init__(self,'text')
     if content <> None:
         self.appendTextContent(content)
     self.set_x(x)
     self.set_y(y)
     self.set_dx(dx)
     self.set_dy(dy)
     self.set_rotate(rotate)
     self.set_textLength(textLength)
     self.set_lengthAdjust(lengthAdjust)
Пример #37
0
 def __init__(self, x=None, y=None, width=None, height=None, patternUnits=None, patternContentUnits=None, patternTransform=None, viewBox=None, preserveAspectRatio=None):
     BaseElement.__init__(self,'pattern')
     self.set_x(x)
     self.set_y(y)
     self.set_width(width)
     self.set_height(height)
     self.set_patternUnits(patternUnits)
     self.set_patternContentUnits(patternContentUnits)
     self.set_patternTransform(patternTransform)
     self.set_viewBox(viewBox)
     self.set_preserveAspectRatio(preserveAspectRatio)
Пример #38
0
 def __init__(self, x=None, y=None, width=None, height=None, filterRes=None,
              filterUnits=None, primitiveUnits=None, **kwargs):
     BaseElement.__init__(self, 'filter')
     self.set_x(x)
     self.set_y(y)
     self.set_height(height)
     self.set_width(width)
     self.set_filterRes(filterRes)
     self.set_filterUnits(filterUnits)
     self.set_primitiveUnits(primitiveUnits)
     self.setKWARGS(**kwargs)
Пример #39
0
 def __init__(self, x=None, y=None, z=None, pointsAtX=None, pointsAtY=None, pointsAtZ=None, specularExponent=None, limitingConeAngle=None, **kwargs):
     BaseElement.__init__(self, 'feSpotLight')
     self.set_x(x)
     self.set_y(y)
     self.set_z(z)
     self.set_pointsAtX(pointsAtX)
     self.set_pointsAtY(pointsAtY)
     self.set_pointsAtZ(pointsAtZ)
     self.set_specularExponent(specularExponent)
     self.set_limitingConeAngle(limitingConeAngle)
     self.setKWARGS(**kwargs)
Пример #40
0
 def __init__(self, content=None, x=None, y=None, dx=None, dy=None, rotate=None, textLength=None, lengthAdjust=None):
     BaseElement.__init__(self, "text")
     if content <> None:
         self.appendTextContent(content)
     self.set_x(x)
     self.set_y(y)
     self.set_dx(dx)
     self.set_dy(dy)
     self.set_rotate(rotate)
     self.set_textLength(textLength)
     self.set_lengthAdjust(lengthAdjust)
Пример #41
0
 def __init__(self, aType=None, tableValues=None, slope=None,
              intercept=None, amplitude=None, exponent=None, offset=None,
              **kwargs):
     BaseElement.__init__(self, 'feFuncA')
     self.set_type(type)
     self.set_tableValues(tableValues)
     self.set_slope(slope)
     self.set_intercept(intercept)
     self.set_amplitude(amplitude)
     self.set_exponent(exponent)
     self.set_offset(offset)
     self.setKWARGS(**kwargs)
Пример #42
0
 def __init__(self, order=None, kernelMatrix=None, divisor=None, bias=None, targetX=None, targetY=None, edgeMode=None, kernelUnitLength=None, preserveAlpha=None, **kwargs):
     BaseElement.__init__(self, 'feConvolveMatrix')
     self.set_order(order)
     self.set_kernelMatrix(kernelMatrix)
     self.set_divisor(divisor)
     self.set_bias(bias)
     self.set_targetX(targetX)
     self.set_targetY(targetY)
     self.set_edgeMode(edgeMode)
     self.set_kernelUnitLength(kernelUnitLength)
     self.set_preserveAlpha(preserveAlpha)
     self.setKWARGS(**kwargs)
Пример #43
0
 def __init__(self, x=None, y=None, z=None, pointsAtX=None, pointsAtY=None,
              pointsAtZ=None, specularExponent=None, limitingConeAngle=None,
              **kwargs):
     BaseElement.__init__(self, 'feSpotLight')
     self.set_x(x)
     self.set_y(y)
     self.set_z(z)
     self.set_pointsAtX(pointsAtX)
     self.set_pointsAtY(pointsAtY)
     self.set_pointsAtZ(pointsAtZ)
     self.set_specularExponent(specularExponent)
     self.set_limitingConeAngle(limitingConeAngle)
     self.setKWARGS(**kwargs)
Пример #44
0
 def __init__(self, content=None, x=None, y=None, dx=None, dy=None,
              rotate=None, textLength=None, lengthAdjust=None, **kwargs):
     BaseElement.__init__(self, 'text')
     if content is not None:
         self.appendTextContent(content)
     self.set_x(x)
     self.set_y(y)
     self.set_dx(dx)
     self.set_dy(dy)
     self.set_rotate(rotate)
     self.set_textLength(textLength)
     self.set_lengthAdjust(lengthAdjust)
     self.setKWARGS(**kwargs)
Пример #45
0
 def __init__(self, order=None, kernelMatrix=None, divisor=None, bias=None,
              targetX=None, targetY=None, edgeMode=None,
              kernelUnitLength=None, preserveAlpha=None, **kwargs):
     BaseElement.__init__(self, 'feConvolveMatrix')
     self.set_order(order)
     self.set_kernelMatrix(kernelMatrix)
     self.set_divisor(divisor)
     self.set_bias(bias)
     self.set_targetX(targetX)
     self.set_targetY(targetY)
     self.set_edgeMode(edgeMode)
     self.set_kernelUnitLength(kernelUnitLength)
     self.set_preserveAlpha(preserveAlpha)
     self.setKWARGS(**kwargs)
Пример #46
0
 def __init__(self, X1=None, Y1=None, X2=None, Y2=None):
     """
     Creates a line
     @type  X1: string or int
     @param X1:  starting x-coordinate
     @type  Y1: string or int
     @param Y1:  starting y-coordinate
     @type  X2: string or int
     @param X2:  ending x-coordinate
     @type  Y2: string or int
     @param Y2:  ending y-coordinate
     """
     BaseElement.__init__(self,'line')
     self.set_x1(X1)
     self.set_y1(Y1)
     self.set_x2(X2)
     self.set_y2(Y2)
Пример #47
0
 def __init__(self, X1=None, Y1=None, X2=None, Y2=None, **kwargs):
     """
     Creates a line
     @type  X1: string or int
     @param X1:  starting x-coordinate
     @type  Y1: string or int
     @param Y1:  starting y-coordinate
     @type  X2: string or int
     @param X2:  ending x-coordinate
     @type  Y2: string or int
     @param Y2:  ending y-coordinate
     """
     BaseElement.__init__(self, 'line')
     self.set_x1(X1)
     self.set_y1(Y1)
     self.set_x2(X2)
     self.set_y2(Y2)
     self.setKWARGS(**kwargs)
Пример #48
0
 def __init__(self, x=None, y=None, width=None, height=None, fileName=None, **kwargs):
     BaseElement.__init__(self, 'svg')
     self.set_xmlns_dc('http://purl.org/dc/elements/1.1/')
     self.set_xmlns_cc('http://creativecommons.org/ns#')
     self.set_xmlns_rdf('http://www.w3.org/1999/02/22-rdf-syntax-ns#')
     self.set_xmlns_svg('http://www.w3.org/2000/svg')
     self.set_xmlns('http://www.w3.org/2000/svg')
     self.set_xmlns_sodipodi('http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd')
     self.set_xmlns_inkscape('http://www.inkscape.org/namespaces/inkscape')
     #self.set_xmlns_xlink('http://www.w3.org/1999/xlink')
     self.set_version('1.1')
     #self.set_x(x)
     #self.set_y(y)
     self.set_width(width)
     self.set_height(height)
     self.set_id('svg2')
     if fileName is None:
             self.set_sodipodi_docname('filename.svg')
     if not fileName is None:
             self.set_sodipodi_docname(fileName)		
     self.setKWARGS(**kwargs)
Пример #49
0
 def __init__(self,**kwargs):
     BaseElement.__init__(self, 'sodipodi:namedview')
     self.set_pagecolor('#ffffff')
     self.set_bordercolor('#666666')
     self.set_borderopacity('1')
     self.set_objecttolerance('10')
     self.set_gridtolerance('10')
     self.set_guidetolerance('10')
     self.set_inkscape_pageopacity('0')
     self.set_inkscape_pageshadow('2')
     self.set_inkscape_window_width('640')
     self.set_inkscape_window_height('480')
     self.set_id('base')
     self.set_showgrid('false')
     self.set_inkscape_zoom('1.0000000')
     self.set_inkscape_cx('160.0000')
     self.set_inkscape_cy('1010.000')
     self.set_inkscape_window_x('0')
     self.set_inkscape_window_y('24')
     self.set_inkscape_window_maximized('0')
     self.set_inkscape_current_layer('svg2')
     self.setKWARGS(**kwargs)
 def __init__(self, **kwargs):
     BaseElement.__init__(self, 'script')
     self.setKWARGS(**kwargs)
 def __init__(self, offset=None, **kwargs):
     BaseElement.__init__(self, 'stop')
     self.set_offset(offset)
     self.setKWARGS(**kwargs)
Пример #52
0
 def __init__(self, offset=None):
     BaseElement.__init__(self,'stop')
     self.set_offset(offset)
Пример #53
0
 def __init__(self, target=None):
     BaseElement.__init__(self, 'a')
     self.set_target(target)
Пример #54
0
 def __init__(self, ):
     BaseElement.__init__(self, 'view')