C# Class WeeWorld.SWFProcessing.SWFModeller.UnparsedShape

A shape in its unparsed form. We gamble that we'll probably never have to parse it, and so it becomes quicker to save out when we re-save the SWF.
Inheritance: Shape
Mostra file Open project: WeeWorld/Swiffotron

Public Methods

Method Description
GetBounds ( ) : Rect
GetEdgeBounds ( ) : Rect
UnparsedShape ( Rect bounds, Rect edgeBounds, byte data ) : System

An unparsed shape, normally accessed through a ShapeProxy so that it can be exchanged for a parsed one if required.

Private Methods

Method Description
ToStringModelView ( int nest, StringBuilder &sb ) : void

Method Details

GetBounds() public method

public GetBounds ( ) : Rect
return Rect

GetEdgeBounds() public method

public GetEdgeBounds ( ) : Rect
return Rect

UnparsedShape() public method

An unparsed shape, normally accessed through a ShapeProxy so that it can be exchanged for a parsed one if required.
public UnparsedShape ( Rect bounds, Rect edgeBounds, byte data ) : System
bounds Rect
edgeBounds Rect Pass null if the shape doesn't have this specified.
data byte
return System