Package tv.porst.swfretools.parser.structures

Examples of tv.porst.swfretools.parser.structures.RGBA


    final Flag html = parseFlag(parser, 0x00006, "DefineEditText::HTML");
    final Flag useOutlines = parseFlag(parser, 0x00006, "DefineEditText::UseOutlines");
    final UINT16 fontID = parseUINT16If(parser, 0x00006, hasFont, "DefineEditText::FontID");
    final AsciiString fontClass = parseStringIf(parser, 0x00006, hasFontClass, "DefineEditText::FontClass");
    final UINT16 fontHeight = parseUINT16If(parser, 0x00006, hasFont, "DefineEditText::FontHeight");
    final RGBA textColor = RGBAParser.parseIf(parser, hasTextColor, "DefineEditText::TextColor");
    final UINT16 maxLength = parseUINT16If(parser, 0x00006, hasMaxLength, "DefineEditText::MaxLength");
    final UINT8 align = parseUINT8If(parser, 0x00006, hasLayout, "DefineEditText::Align");
    final UINT16 leftMargin = parseUINT16If(parser, 0x00006, hasLayout, "DefineEditText::LeftMargin");
    final UINT16 rightMargin = parseUINT16If(parser, 0x00006, hasLayout, "DefineEditText::RightMargin");
    final UINT16 indent = parseUINT16If(parser, 0x00006, hasLayout, "DefineEditText::Indent");
View Full Code Here


    addNode("Alpha", getUserObject().getAlpha());
  }

  @Override
  public String toString() {
    final RGBA rgb = getUserObject();

    return String.format("%s: RGB (#%02X%02X%02X%02X)", getName(), rgb.getRed().value(), rgb.getGreen().value(), rgb.getBlue().value(), rgb.getAlpha().value());
  }
View Full Code Here

TOP

Related Classes of tv.porst.swfretools.parser.structures.RGBA

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.