Package org.apache.flex.swf.types

Examples of org.apache.flex.swf.types.MorphGradient


    /**
     * @see SWFWriter#writeMorphGradient
     */
    private MorphGradient readMorphGradient()
    {
        final MorphGradient result = new MorphGradient();

        final int numGradients = bitStream.readUI8();

        for (int idx = 0; idx < numGradients; idx++)
        {
            final MorphGradRecord gradientRecord = readMorphGradRecord();
            result.add(gradientRecord);
        }

        return result;
    }
View Full Code Here


            case FillStyle.LINEAR_GRADIENT_FILL:
            case FillStyle.RADIAL_GRADIENT_FILL:
            case FillStyle.FOCAL_RADIAL_GRADIENT_FILL:
                final Matrix startGradientMatrix = readMatrix();
                final Matrix endGradientMatrix = readMatrix();
                final MorphGradient gradient = readMorphGradient();
                result.setStartGradientMatrix(startGradientMatrix);
                result.setEndGradientMatrix(endGradientMatrix);
                result.setGradient(gradient);
                if (fillStyleType == FillStyle.FOCAL_RADIAL_GRADIENT_FILL &&
                    tagType.getValue() == TagType.DefineMorphShape2.getValue())
View Full Code Here

TOP

Related Classes of org.apache.flex.swf.types.MorphGradient

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.