| |
- __builtin__.object
-
- BaseExporter
-
- SVGExporter
- DefaultShapeExporter
-
- DefaultSVGShapeExporter
-
- SVGShapeExporter
- SVGBounds
- SVGFilterFactory
class BaseExporter(__builtin__.object) |
| |
Methods defined here:
- __init__(self, swf=None, shape_exporter=None)
- export(self, swf)
- export_define_bits(self, tag)
- export_define_bits_lossless(self, tag)
- export_define_shape(self, tag)
- export_define_shapes(self, tags)
- export_define_sprite(self, tag, parent=None)
- export_display_list(self, tags, parent=None)
- export_display_list_item(self, tag, parent=None)
- export_image(self, tag, image=None)
- get_display_tags(self, tags, z_sorted=True)
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class DefaultSVGShapeExporter(DefaultShapeExporter) |
| |
- Method resolution order:
- DefaultSVGShapeExporter
- DefaultShapeExporter
- __builtin__.object
Methods defined here:
- __init__(self, defs=None)
- begin_bitmap_fill(self, bitmap_id, matrix=None, repeat=False, smooth=False)
- begin_fill(self, color, alpha=1.0)
- begin_gradient_fill(self, type, colors, alphas, ratios, matrix=None, spreadMethod=0, interpolationMethod=0, focalPointRatio=0.0)
- curve_to(self, cx, cy, ax, ay)
- end_fill(self)
- end_lines(self)
- finalize_path(self)
- line_style(self, thickness=nan, color=0, alpha=1.0, pixelHinting=False, scaleMode=2, startCaps=None, endCaps=None, joints=None, miterLimit=3.0)
- line_to(self, x, y)
- move_to(self, x, y)
Methods inherited from DefaultShapeExporter:
- begin_fills(self)
- begin_lines(self)
- begin_shape(self)
- end_fills(self)
- end_shape(self)
- line_gradient_style(self, type, colors, alphas, ratios, matrix=None, spreadMethod=0, interpolationMethod=0, focalPointRatio=0.0)
Data descriptors inherited from DefaultShapeExporter:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class DefaultShapeExporter(__builtin__.object) |
|
The default (abstract) Shape exporter class.
All shape exporters should extend this class. |
|
Methods defined here:
- __init__(self, swf=None, debug=False)
- begin_bitmap_fill(self, bitmap_id, matrix=None, repeat=False, smooth=False)
- begin_fill(self, color, alpha=1.0)
- begin_fills(self)
- begin_gradient_fill(self, type, colors, alphas, ratios, matrix=None, spreadMethod=0, interpolationMethod=0, focalPointRatio=0.0)
- begin_lines(self)
- begin_shape(self)
- curve_to(self, cx, cy, ax, ay)
- end_fill(self)
- end_fills(self)
- end_lines(self)
- end_shape(self)
- line_gradient_style(self, type, colors, alphas, ratios, matrix=None, spreadMethod=0, interpolationMethod=0, focalPointRatio=0.0)
- line_style(self, thickness=nan, color=0, alpha=1.0, pixelHinting=False, scaleMode=2, startCaps=None, endCaps=None, joints=None, miterLimit=3.0)
- line_to(self, x, y)
- move_to(self, x, y)
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class SVGBounds(__builtin__.object) |
| |
Methods defined here:
- __init__(self, svg=None)
- add_point(self, x, y)
- grow(self, margin)
- merge(self, other)
- set(self, minx, miny, maxx, maxy)
- shrink(self, margin)
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
- height
- width
|
class SVGExporter(BaseExporter) |
| |
- Method resolution order:
- SVGExporter
- BaseExporter
- __builtin__.object
Methods defined here:
- __init__(self, swf=None)
- export(self, swf)
- export_color_transform(self, cxform, svg_filter, result='color-xform')
- export_define_shape(self, tag)
- export_define_sprite(self, tag, parent=None)
- export_display_list_item(self, tag, parent=None)
- export_filter_dropshadow(self, swf_filter, svg_filter, blend_in=None, result='offsetBlur')
- export_filters(self, tag, svg_filter, cxform=None)
- export_image(self, tag, image=None)
Methods inherited from BaseExporter:
- export_define_bits(self, tag)
- export_define_bits_lossless(self, tag)
- export_define_shapes(self, tags)
- export_display_list(self, tags, parent=None)
- get_display_tags(self, tags, z_sorted=True)
Data descriptors inherited from BaseExporter:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class SVGFilterFactory(__builtin__.object) |
| |
Class methods defined here:
- create_blend(cls, e, attr_in=None, attr_in2='BackgroundImage', mode='normal', result=None) from __builtin__.type
- create_drop_shadow_filter(cls, e, filter, attr_in=None, blurX=0, blurY=0, blend_in=None, result=None) from __builtin__.type
- create_gaussian_blur(cls, e, attr_in='SourceAlpha', attr_deviaton='3', result=None) from __builtin__.type
- create_offset(cls, e, attr_in=None, dx=0, dy=0, result=None) from __builtin__.type
- export_color_matrix_filter(cls, e, filter, matrix, svg_filter, attr_in=None, result='color-matrix') from __builtin__.type
- export_glow_filter(cls, e, filter, attr_in=None, result='glow-out') from __builtin__.type
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class SVGShapeExporter(DefaultSVGShapeExporter) |
| |
- Method resolution order:
- SVGShapeExporter
- DefaultSVGShapeExporter
- DefaultShapeExporter
- __builtin__.object
Methods defined here:
- __init__(self)
- begin_bitmap_fill(self, bitmap_id, matrix=None, repeat=False, smooth=False)
- begin_fill(self, color, alpha=1.0)
- begin_gradient_fill(self, type, colors, alphas, ratios, matrix=None, spreadMethod=0, interpolationMethod=0, focalPointRatio=0.0)
- begin_shape(self)
- finalize_path(self)
- line_style(self, thickness=nan, color=0, alpha=1.0, pixelHinting=False, scaleMode=2, startCaps=None, endCaps=None, joints=None, miterLimit=3.0)
Methods inherited from DefaultSVGShapeExporter:
- curve_to(self, cx, cy, ax, ay)
- end_fill(self)
- end_lines(self)
- line_to(self, x, y)
- move_to(self, x, y)
Methods inherited from DefaultShapeExporter:
- begin_fills(self)
- begin_lines(self)
- end_fills(self)
- end_shape(self)
- line_gradient_style(self, type, colors, alphas, ratios, matrix=None, spreadMethod=0, interpolationMethod=0, focalPointRatio=0.0)
Data descriptors inherited from DefaultShapeExporter:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
| |