Examples of MorphGradient


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

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

            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
Copyright © 2018 www.massapi.com. 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.