Examples of PdClip


Examples of org.foray.fotree.fo.prop.PdClip

     * @param context An object that knows how to resolve FO Tree context
     * issues.
     * @return True iff the "clip" trait is "auto".
     */
    public boolean traitClipIsAuto(final FObj fobj, final FoContext context) {
        final PdClip property = (PdClip) getProperty(FoProperty.CLIP);
        if (property != null) {
            return property.getValue(context, fobj, null) == null;
        }
        return true;
    }
View Full Code Here

Examples of org.foray.fotree.fo.prop.PdClip

     * @return The shape to which the contents should be clipped.
     * All encapsulated dimensions are expressed in millipoints.
     */
    public Shape traitClip(final FObj fobj, final FoContext context,
            final Shape containerShape) {
        final PdClip property = (PdClip) getProperty(FoProperty.CLIP);
        if (property != null) {
            return property.getValue(context, fobj, containerShape);
        }
        return PdClip.getValueNoInstance();
    }
View Full Code Here

Examples of org.foray.fotree.fo.prop.PdClip

        }
        case CLEAR: {
            return new PdClear(fobj, propertyFullName, attributeValue);
        }
        case CLIP: {
            return new PdClip(fobj, propertyFullName, attributeValue);
        }
        case COLOR: {
            return new PdColor(fobj, propertyFullName, attributeValue);
        }
        case COLOR_PROFILE_NAME: {
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.