Package org.axsl.common.value

Examples of org.axsl.common.value.RelativeAxis


     * @param context An object that knows how to resolve FO context issues.
     * @param fobj The FO for which this value is needed.
     * @return The value of this property.
     */
    public int getValue(final FoContext context, final FObj fobj) {
        final RelativeAxis relativeAxis = this.getRelativeAxis(context, fobj);
        if (value().canEvalPercentage()) {
            int base = 0;
            if (relativeAxis == RelativeAxis.BLOCK_PROGRESSION) {
                base = context.bpdAncestorBlockOrRa();
            } else {
View Full Code Here


     * {@link AbsoluteDirection#LEFT_TO_RIGHT},
     * or {@link AbsoluteDirection#RIGHT_TO_LEFT}, depending on the
     * writing-mode.
     */
    public AbsoluteDirection contentStackingDirectionAbsolute() {
        final RelativeAxis relative = contentStackingAxis();
        return getWritingMode().getAbsoluteDirFromRelativeAxis(relative);
    }
View Full Code Here

TOP

Related Classes of org.axsl.common.value.RelativeAxis

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.