Package org.axsl.common.value

Examples of org.axsl.common.value.TextAlign


     * alignment.
     * @return Additional offset from the start edge of the content rectangle
     * that results from aligning the line.
     */
    public int startAlignmentAdjustment() {
        final TextAlign textAlign = traitGeneratedBy().traitTextAlign(this);
        switch (textAlign) {
        case END: {
            return totalAlignmentAdjustment();
        }
        case CENTER: {
View Full Code Here


     * @return One of the following TraitEnumeration constants: START, END,
     * CENTER, JUSTIFY.
     */
    public TextAlign traitTextAlign() {
        final Block generatedBy = traitGeneratedBy();
        TextAlign textAlign = generatedBy.traitTextAlign(this);
        if (this.textAlignLastApplies()) {
            final TextAlignLast textAlignLast = generatedBy.traitTextAlignLast(
                    this);
            if (textAlignLast == TextAlignLast.RELATIVE) {
                if (textAlign == TextAlign.JUSTIFY) {
View Full Code Here

TOP

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

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.