Package tv.porst.swfretools.parser.structures

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


   *
   * @throws SWFParserException Thrown if parsing the tag failed.
   */
  public static SetBackgroundColorTag parse(final RecordHeader header, final SWFBinaryParser parser) throws SWFParserException {

    final RGB backgroundColor = RGBParser.parse(parser, "SetBackgroundColor::BackgroundColor");

    return new SetBackgroundColorTag(header, backgroundColor);
  }
View Full Code Here


    addNode("Blue", getUserObject().getBlue());
  }

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

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

TOP

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

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.