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

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

?? font.java

?? 一個java操作pdf文件的開發包,很好用的.
?? 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一区二区三区免费野_久草精品视频
色综合久久中文字幕| 精品国产乱码久久久久久闺蜜| 日本乱人伦一区| 欧美成人三级电影在线| 成人欧美一区二区三区| 麻豆传媒一区二区三区| 91浏览器在线视频| 精品国产一区久久| 一区二区三区鲁丝不卡| 成人av片在线观看| 91精品国产福利| 亚洲精品亚洲人成人网| 国产成人免费高清| 欧美一二三区精品| 午夜精品免费在线观看| 色综合久久久久| 国产欧美精品一区aⅴ影院| 六月丁香综合在线视频| 欧美日韩久久一区| 一区二区三区在线免费| 99久久综合狠狠综合久久| 久久精品一区四区| 国产盗摄一区二区三区| 久久这里只有精品6| 日韩精品亚洲专区| 欧美色图在线观看| 亚洲一区在线观看网站| av高清不卡在线| 亚洲欧洲国产日本综合| aaa欧美色吧激情视频| 中文字幕国产一区| 国产精品亚洲第一区在线暖暖韩国 | 制服丝袜亚洲色图| 亚洲1区2区3区4区| 欧美日韩免费电影| 日韩电影在线观看一区| 欧美一区二区啪啪| 久88久久88久久久| www亚洲一区| 风间由美一区二区三区在线观看 | 国产午夜一区二区三区| 久久se精品一区精品二区| 精品女同一区二区| 国产精品一区二区久久不卡| 久久久天堂av| 99久久精品费精品国产一区二区| 亚洲欧美怡红院| 欧美三级中文字幕| 男人的j进女人的j一区| 精品对白一区国产伦| 福利视频网站一区二区三区| 国产精品美女www爽爽爽| 91丝袜美腿高跟国产极品老师| 亚洲在线视频免费观看| 欧美精品在线观看播放| 99国产精品久久久久久久久久久 | 18欧美亚洲精品| 欧美中文字幕亚洲一区二区va在线| 亚洲福利视频一区| 欧美mv日韩mv国产网站app| 国产成人精品综合在线观看| 亚洲欧美乱综合| 欧美日韩高清一区二区| 国内外成人在线视频| 国产精品成人在线观看| 欧美老女人在线| 国产精品18久久久| 亚洲成a天堂v人片| 久久久九九九九| 欧美日韩小视频| 国产精品亚洲成人| 亚洲成在人线免费| 久久精品一区二区三区四区| 91久久免费观看| 韩国午夜理伦三级不卡影院| 国产精品久久久久影院| 欧美一级免费大片| 91在线高清观看| 韩国精品主播一区二区在线观看 | 亚洲欧美日韩国产一区二区三区| 欧美一区中文字幕| 91丨porny丨国产入口| 久久丁香综合五月国产三级网站| 亚洲人成亚洲人成在线观看图片| 91精品国产综合久久久久久| 99久久精品免费精品国产| 美女在线视频一区| 亚洲综合区在线| 国产精品理伦片| 精品久久久久久亚洲综合网| 欧美在线综合视频| 99精品视频在线播放观看| 精油按摩中文字幕久久| 成人午夜激情在线| 男人的天堂亚洲一区| 亚洲一二三级电影| 亚洲欧美另类在线| 欧美激情在线免费观看| 精品免费国产二区三区 | 亚洲一区二区综合| 中文字幕一区二区三区在线播放 | 亚洲手机成人高清视频| 久久久蜜桃精品| 日韩亚洲欧美综合| 欧美日韩国产首页| 欧美性大战久久久久久久蜜臀 | 国产精品青草久久| 久久婷婷综合激情| 精品国产免费一区二区三区香蕉| 欧美日韩aaaaa| 欧美精品丝袜中出| 欧美在线观看视频一区二区三区 | 91久久精品国产91性色tv| 成人的网站免费观看| 成人激情开心网| 成人免费视频视频在线观看免费| 国产精品一区二区x88av| 精品一区二区综合| 国产麻豆一精品一av一免费| 精品一区二区三区在线播放| 久久精品国产精品亚洲综合| 免费精品视频最新在线| 久久精品99国产精品日本| 美日韩一区二区| 激情偷乱视频一区二区三区| 国产一区二区在线观看免费| 久久爱www久久做| 国产精品一区二区不卡| 成人黄色综合网站| 日本福利一区二区| 色94色欧美sute亚洲线路一久| 欧美在线观看视频一区二区| 欧美精品色一区二区三区| 欧美一区二区性放荡片| 久久美女高清视频| 国产精品久久久久永久免费观看| 中文字幕一区二区三区在线观看| 一区二区三区资源| 日本中文字幕一区二区视频| 国产综合色视频| 99re在线精品| 欧美嫩在线观看| 亚洲综合精品久久| 奇米精品一区二区三区在线观看 | 国产专区欧美精品| 成人一级黄色片| 欧美日韩精品二区第二页| 精品国精品自拍自在线| 国产精品久久久久久久久动漫| 亚洲一区二区三区四区在线免费观看| 日本少妇一区二区| 国产91精品免费| 欧美日本在线视频| 国产精品私房写真福利视频| 一区二区三区不卡在线观看| 久久99热狠狠色一区二区| 99久久er热在这里只有精品15| 欧美猛男gaygay网站| 中文字幕免费不卡在线| 亚洲国产精品视频| 国产91综合网| 7799精品视频| 亚洲天堂免费看| 国产一区二区三区四区五区美女| 一本色道久久综合亚洲aⅴ蜜桃| 日韩一区二区中文字幕| 亚洲精品乱码久久久久久 | 日韩精品一区二区三区蜜臀| 日韩理论电影院| 国产传媒欧美日韩成人| 欧美日韩一区二区在线观看| 国产精品免费丝袜| 久久机这里只有精品| 欧美日本一区二区| 中文字幕一区日韩精品欧美| 国产在线不卡一卡二卡三卡四卡| 在线观看视频一区二区欧美日韩| 国产日韩欧美在线一区| 裸体在线国模精品偷拍| 精品视频1区2区3区| 亚洲欧洲精品天堂一级| 国产美女精品一区二区三区| 欧美一级艳片视频免费观看| 夜夜爽夜夜爽精品视频| 99re6这里只有精品视频在线观看| 久久综合久久综合九色| 免费成人美女在线观看.| 欧美在线不卡视频| 一区二区三区精品视频| 99精品国产99久久久久久白柏| 久久九九久久九九| 国产精品影视网| 久久久综合视频| 激情亚洲综合在线| 精品女同一区二区| 国产一区二区调教| 2019国产精品| 国产iv一区二区三区| 欧美国产精品一区二区| 国产成人在线观看免费网站|