You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Character.java 616B

12345678910111213141516171819202122232425262728
  1. /*
  2. * $Id$
  3. * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
  4. * For details on use and redistribution please refer to the
  5. * LICENSE file included with these sources.
  6. */
  7. package org.apache.fop.area.inline;
  8. import org.apache.fop.render.Renderer;
  9. public class Character extends InlineArea {
  10. char character;
  11. public Character(char ch) {
  12. character = ch;
  13. }
  14. // character info: font, char spacing, colour, baseline
  15. public void render(Renderer renderer) {
  16. renderer.renderCharacter(this);
  17. }
  18. public char getChar() {
  19. return character;
  20. }
  21. }