亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? font.java

?? iText可以制作中文PDF文件的JAVA源程序最新版下載
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/* * $Id: Font.java,v 1.66 2002/07/09 10:41:33 blowagie Exp $ * $Name:  $ * * Copyright 1999, 2000, 2001, 2002 by Bruno Lowagie. * * The contents of this file are subject to the Mozilla Public License Version 1.1 * (the "License"); you may not use this file except in compliance with the License. * You may obtain a copy of the License at http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" basis, * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License * for the specific language governing rights and limitations under the License. * * The Original Code is 'iText, a free JAVA-PDF library'. * * The Initial Developer of the Original Code is Bruno Lowagie. Portions created by * the Initial Developer are Copyright (C) 1999, 2000, 2001, 2002 by Bruno Lowagie. * All Rights Reserved. * Co-Developer of the code is Paulo Soares. Portions created by the Co-Developer * are Copyright (C) 2000, 2001, 2002 by Paulo Soares. All Rights Reserved. * * Contributor(s): all the names of the contributors are added in the source code * where applicable. * * Alternatively, the contents of this file may be used under the terms of the * LGPL license (the "GNU LIBRARY GENERAL PUBLIC LICENSE"), in which case the * provisions of LGPL are applicable instead of those above.  If you wish to * allow use of your version of this file only under the terms of the LGPL * License and not to allow others to use your version of this file under * the MPL, indicate your decision by deleting the provisions above and * replace them with the notice and other provisions required by the LGPL. * If you do not delete the provisions above, a recipient may use your version * of this file under either the MPL or the GNU LIBRARY GENERAL PUBLIC LICENSE. * * This library is free software; you can redistribute it and/or modify it * under the terms of the MPL as stated above or under the terms of the GNU * Library General Public License as published by the Free Software Foundation; * either version 2 of the License, or any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Library general Public License for more * details. * * If you didn't download this code from the following link, you should check if * you aren't using an obsolete version: * http://www.lowagie.com/iText/ */package com.lowagie.text;import java.awt.Color;import com.lowagie.text.pdf.BaseFont;import com.lowagie.text.markup.MarkupTags;/** * Contains all the specifications of a font: fontfamily, size, style and color. * <P> * Example: * <BLOCKQUOTE><PRE> * Paragraph p = new Paragraph("This is a paragraph", *               <STRONG>new Font(Font.HELVETICA, 18, Font.BOLDITALIC, new Color(0, 0, 255))</STRONG>); * </PRE></BLOCKQUOTE> */public class Font implements Comparable {    // static membervariables for the different families    /** a possible value of a font family. */    public static final int COURIER = 0;    /** a possible value of a font family. */    public static final int HELVETICA = 1;    /** a possible value of a font family. */    public static final int TIMES_NEW_ROMAN = 2;    /** a possible value of a font family. */    public static final int SYMBOL = 3;    /** a possible value of a font family. */    public static final int ZAPFDINGBATS = 4;    // static membervariables for the different styles    /** this is a possible style. */    public static final int NORMAL		= 0;    /** this is a possible style. */    public static final int BOLD		= 1;    /** this is a possible style. */    public static final int ITALIC		= 2;    /** this is a possible style. */    public static final int UNDERLINE	= 4;    /** this is a possible style. */    public static final int STRIKETHRU	= 8;    /** this is a possible style. */    public static final int BOLDITALIC	= BOLD | ITALIC;    // static membervariables    /** the value of an undefined attribute. */    public static final int UNDEFINED = -1;    /** the value of the default size. */    public static final int DEFAULTSIZE = 12;    // membervariables    /** the value of the fontfamily. */    private int family = UNDEFINED;    /** the value of the fontsize. */    private float size = UNDEFINED;    /** the value of the style. */    private int style = UNDEFINED;    /** the value of the color. */    private Color color = null;    /** the external font */    private BaseFont baseFont = null;    // constructors    /** * Constructs a Font. * * @param	family	the family to which this font belongs * @param	size	the size of this font * @param	style	the style of this font * @param	color	the <CODE>Color</CODE> of this font. */        public Font(int family, float size, int style, Color color) {        this.family = family;        this.size = size;        this.style = style;        this.color = color;    }    /** * Constructs a Font. * * @param	bf	    the external font * @param	size	the size of this font * @param	style	the style of this font * @param	color	the <CODE>Color</CODE> of this font. */        public Font(BaseFont bf, float size, int style, Color color) {        this.baseFont = bf;        this.size = size;        this.style = style;        this.color = color;    }    /** * Constructs a Font. * * @param	bf	    the external font * @param	size	the size of this font * @param	style	the style of this font */    public Font(BaseFont bf, float size, int style) {        this(bf, size, style, null);    }    /** * Constructs a Font. * * @param	bf	    the external font * @param	size	the size of this font */    public Font(BaseFont bf, float size) {        this(bf, size, UNDEFINED, null);    }    /** * Constructs a Font. * * @param	bf	    the external font */    public Font(BaseFont bf) {        this(bf, UNDEFINED, UNDEFINED, null);    }    /** * Constructs a Font. * * @param	family	the family to which this font belongs * @param	size	the size of this font * @param	style	the style of this font */        public Font(int family, float size, int style) {        this(family, size, style, null);    }    /** * Constructs a Font. * * @param	family	the family to which this font belongs * @param	size	the size of this font */        public Font(int family, float size) {        this(family, size, UNDEFINED, null);    }    /** * Constructs a Font. * * @param	family	the family to which this font belongs */        public Font(int family) {        this(family, UNDEFINED, UNDEFINED, null);    }    /** * Constructs a Font. */        public Font() {        this(UNDEFINED, UNDEFINED, UNDEFINED, null);    }        // implementation of the Comparable interface    /** * Compares this <CODE>Font</CODE> with another * * @param	object	the other <CODE>Font</CODE> * @return	a value */        public int compareTo(Object object) {        if (object == null) {            return -1;        }        Font font;        try {            font = (Font) object;            if (baseFont != null && !baseFont.equals(font.getBaseFont())) {                return -2;            }            if (this.family != font.family()) {                return 1;            }            if (this.size != font.size()) {                return 2;            }            if (this.style != font.style()) {                return 3;            }            if (this.color == null) {                if (font.color == null) {                    return 0;                }                return 4;            }            if (font.color == null) {                return 4;            }            if (this.color.equals(font.color())) {                return 0;            }            return 4;        }        catch(ClassCastException cce) {            return -3;        }    }        // methods    /** * Sets the family using a <CODE>String</CODE> ("Courier", * "Helvetica", "Times New Roman", "Symbol" or "ZapfDingbats"). * * @param	family		A <CODE>String</CODE> representing a certain font-family. */        public void setFamily(String family) {        this.family = getFamilyIndex(family);    }    /** * Translates a <CODE>String</CODE>-value of a certain family * into the index that is used for this family in this class. * * @param	family		A <CODE>String</CODE> representing a certain font-family * @return	the corresponding index */        public static int getFamilyIndex(String family) {        if (family.equalsIgnoreCase(FontFactory.COURIER)) {            return COURIER;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一区二区三区不卡| 欧美日韩视频在线一区二区 | 亚洲人妖av一区二区| 亚洲一区二区视频在线观看| 国产乱码字幕精品高清av| 欧美做爰猛烈大尺度电影无法无天| 久久免费国产精品| 日韩黄色免费网站| 欧洲激情一区二区| 国产精品护士白丝一区av| 蜜臀久久久99精品久久久久久| 一本久久精品一区二区| 中文字幕精品在线不卡| 九一久久久久久| 欧美日韩视频专区在线播放| 亚洲人成小说网站色在线 | 成人毛片在线观看| 日韩三级视频在线看| 亚洲成人动漫一区| 欧美自拍偷拍一区| 亚洲女与黑人做爰| 色综合天天在线| 亚洲国产精品成人久久综合一区| 精品影院一区二区久久久| 欧美日韩二区三区| 午夜久久久久久久久久一区二区| 欧美怡红院视频| 亚洲愉拍自拍另类高清精品| 欧美在线三级电影| 亚洲综合免费观看高清完整版| 成人黄色小视频在线观看| 久久久久久99精品| 国产成人8x视频一区二区| 久久久久综合网| 成人永久免费视频| 国产精品福利av| 日本电影欧美片| 亚洲一二三区视频在线观看| 91黄色免费版| 天天影视网天天综合色在线播放| 欧美日韩国产a| 久久精品国产一区二区三区免费看| 日韩一区二区三区四区| 国产一区二区精品久久99| 国产无人区一区二区三区| 成人av网在线| 亚洲制服欧美中文字幕中文字幕| 欧美老女人第四色| 秋霞午夜鲁丝一区二区老狼| 日韩精品最新网址| 国产大片一区二区| 亚洲免费三区一区二区| 欧美日韩精品免费观看视频| 蜜臀av性久久久久蜜臀aⅴ| 久久一区二区视频| 91免费版pro下载短视频| 午夜久久福利影院| 久久久亚洲国产美女国产盗摄| 北条麻妃一区二区三区| 亚洲成人自拍网| 欧美xxxxxxxxx| 色香色香欲天天天影视综合网| 婷婷一区二区三区| 国产日韩欧美不卡在线| 在线看国产一区二区| 美女免费视频一区| 亚洲丝袜制服诱惑| 这里是久久伊人| 成人精品小蝌蚪| 日韩av电影天堂| 亚洲色图制服诱惑 | 欧美精品三级日韩久久| 国产999精品久久| 日本亚洲免费观看| 自拍偷拍亚洲欧美日韩| 日韩免费视频一区二区| 色女孩综合影院| 国产精品亚洲第一区在线暖暖韩国 | 91视频在线观看免费| 男人的天堂久久精品| 一区二区三区在线视频观看| 久久久久久久综合狠狠综合| 欧美日韩精品免费观看视频| 99久久夜色精品国产网站| 秋霞午夜av一区二区三区 | 国产精品国产自产拍在线| 日韩三级伦理片妻子的秘密按摩| 91网站视频在线观看| 国产精品一区免费视频| 青青青伊人色综合久久| 亚洲另类春色国产| 国产精品久久久久久久裸模| 日韩精品中文字幕在线不卡尤物| 欧美视频完全免费看| 99久久精品情趣| 国产精品资源网| 美国毛片一区二区| 午夜免费久久看| 亚洲成人av一区二区三区| 亚洲精品视频免费观看| 国产精品久久99| 日本一区二区不卡视频| 国产三级三级三级精品8ⅰ区| 欧美一区二区视频在线观看2022 | 日韩专区中文字幕一区二区| 一区二区理论电影在线观看| 亚洲男同性恋视频| 亚洲欧洲制服丝袜| 亚洲免费观看高清| 国产精品成人免费精品自在线观看 | 久久蜜桃av一区精品变态类天堂| 欧美大胆人体bbbb| 91精品国产福利| 日韩欧美资源站| 欧美精品一区二区三区很污很色的 | 久久噜噜亚洲综合| 久久久久99精品国产片| 久久一区二区三区四区| 久久看人人爽人人| 国产精品嫩草99a| 中文字幕一区二区在线观看| 国产精品久久久久一区二区三区 | 久久精品一区二区| 久久影院电视剧免费观看| 中文字幕久久午夜不卡| 亚洲欧洲国产日韩| 亚洲成av人影院| 久久精品99国产精品日本| 国产一区二区三区视频在线播放| 国产传媒欧美日韩成人| 99久久精品国产网站| 欧美日韩精品一区视频| 欧美电影免费提供在线观看| 国产精品无遮挡| 亚洲一区二区偷拍精品| 青青草视频一区| 丰满亚洲少妇av| 在线日韩一区二区| 精品国产一区二区三区av性色 | 久久久五月婷婷| 亚洲特级片在线| 免费观看成人鲁鲁鲁鲁鲁视频| 国内精品久久久久影院一蜜桃| 成人av手机在线观看| 欧美精品久久天天躁| 国产三级精品视频| 亚洲一区二区三区四区五区中文| 男女男精品网站| 91网站黄www| 日韩欧美一级片| 亚洲欧美激情视频在线观看一区二区三区| 亚洲影视在线播放| 国产成人福利片| 欧美色视频在线| 国产精品网站在线播放| 天天爽夜夜爽夜夜爽精品视频| 国产麻豆视频一区二区| 欧美四级电影在线观看| 久久精品亚洲国产奇米99| 亚洲资源在线观看| 成人精品视频一区二区三区| 欧美精品久久久久久久多人混战 | 欧美精品在线一区二区三区| 国产精品久久久久久亚洲伦| 日本午夜一区二区| 日本韩国欧美在线| 欧美激情一区在线| 麻豆成人免费电影| 欧美午夜免费电影| 中文字幕欧美一| 国产在线精品一区二区不卡了| 欧美亚洲综合在线| 亚洲欧洲三级电影| 国产suv精品一区二区三区| 91精品国产欧美日韩| 亚洲国产日韩精品| 日本乱码高清不卡字幕| 国产精品女同互慰在线看| 国产精品一区免费在线观看| 91精品久久久久久久99蜜桃| 亚洲电影欧美电影有声小说| 色综合色综合色综合色综合色综合| 国产欧美视频一区二区三区| 久久国产三级精品| 欧美久久久久久久久中文字幕| 亚洲综合激情另类小说区| 91麻豆成人久久精品二区三区| 国产精品久久久久精k8| 国产成人高清视频| 国产欧美精品一区二区色综合| 精久久久久久久久久久| 精品乱人伦小说| 国产一区二区中文字幕| 精品福利一区二区三区| 久久99在线观看| 日韩美女视频在线| 精品一区在线看| 久久免费美女视频| 国产91丝袜在线观看| 国产精品久久福利|