Package org.apache.flex.swf.io.SWFReader

Examples of org.apache.flex.swf.io.SWFReader.CurrentStyles


    /**
     * @see SWFReader#readShape
     */
    private void writeShape(Shape shape, TagType tagType, int fillStyleCount, int lineStyleCount)
    {
        CurrentStyles currentStyles = new CurrentStyles();
        currentStyles.numFillBits = requireUBCount(fillStyleCount);
        currentStyles.numLineBits = requireUBCount(lineStyleCount);
        writeShape(shape, tagType, currentStyles);
    }
View Full Code Here


    private void writeShapeWithStyle(ShapeWithStyle shape, TagType tagType)
    {
        writeFillStyles(shape.getFillStyles(), tagType);
        writeLineStyles(shape.getLineStyles(), tagType);
        CurrentStyles currentStyles = new CurrentStyles();
        currentStyles.styles = new Styles(shape.getFillStyles(), shape.getLineStyles());
        currentStyles.numFillBits = requireUBCount(shape.getFillStyles().size());
        currentStyles.numLineBits = requireUBCount(shape.getLineStyles().size());
        writeShape(shape, tagType, currentStyles);
    }
View Full Code Here

TOP

Related Classes of org.apache.flex.swf.io.SWFReader.CurrentStyles

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.