/** * <copyright> * </copyright> * * */ package org.feature.multi.perspective.mapping.viewmapping.resource.mtext.mopp; public class MtextTokenStyle implements org.feature.multi.perspective.mapping.viewmapping.resource.mtext.IMtextTokenStyle { private int[] color; private int[] backgroundColor; private boolean bold; private boolean italic; private boolean strikethrough; private boolean underline; public MtextTokenStyle(int[] color, int[] backgroundColor, boolean bold, boolean italic, boolean striketrough, boolean underline) { super(); this.color = color; this.backgroundColor = backgroundColor; this.bold = bold; this.italic = italic; this.strikethrough = striketrough; this.underline = underline; } public int[] getColorAsRGB() { return color; } public int[] getBackgroundColorAsRGB() { return backgroundColor; } public boolean isBold() { return bold; } public boolean isItalic() { return italic; } public boolean isStrikethrough() { return strikethrough; } public boolean isUnderline() { return underline; } }