Examples of PsObject


Examples of org.foray.ps.PsObject

    /**
     * Returns the StdVW value from the font file.
     * @return The StdVW value, or null if it does not exist.
     */
    public BigDecimal getStdVW() {
        final PsObject object = getWrappedDictionary().getItem(PsCharStringsDictionary.STD_VW_KEY);
        if (object == null || ! (object instanceof PsArray)) {
            return null;
        }
        final PsArray psArray = (PsArray) object;
        final Object item = psArray.get(0);
View Full Code Here

Examples of org.foray.ps.PsObject

    /**
     * {@inheritDoc}
     */
    public PsFontInfoDictionary getFontInfoDictionary() {
        final PsObject psObject = getWrappedDictionary().getItem(PsFontDictionary.FONT_INFO_KEY);
        if (psObject == null) {
            return null;
        }
        if (psObject instanceof PsDictionary) {
            return new PsFontInfoDictionary((PsDictionary) psObject);
View Full Code Here

Examples of org.foray.ps.PsObject

    /**
     * {@inheritDoc}
     */
    public PsPrivateDictionary getPrivateDictionary() {
        final PsObject psObject = getWrappedDictionary().getItem(PsFontDictionary.PRIVATE_KEY);
        if (psObject == null) {
            return null;
        }
        if (psObject instanceof PsDictionary) {
            return new PsPrivateDictionary((PsDictionary) psObject);
View Full Code Here

Examples of org.foray.ps.PsObject

    /**
     * Returns the Metrics dictionary.
     * @return The Metrics dictionary, or null if it does not exist.
     */
    public PsMetricsDictionary getMetricsDictionary() {
        final PsObject psObject = getWrappedDictionary().getItem(PsFontDictionary.METRICS_KEY);
        if (psObject == null) {
            return null;
        }
        if (psObject instanceof PsDictionary) {
            return new PsMetricsDictionary((PsDictionary) psObject);
View Full Code Here

Examples of org.foray.ps.PsObject

    /**
     * Returns the CharStrings dictionary.
     * @return The CharStrings dictionary, or null if it does not exist.
     */
    public PsCharStringsDictionary getCharStringsDictionary() {
        final PsObject psObject = getWrappedDictionary().getItem(PsFontDictionary.CHAR_STRINGS_KEY);
        if (psObject == null) {
            return null;
        }
        if (psObject instanceof PsDictionary) {
            return new PsCharStringsDictionary((PsDictionary) psObject);
View Full Code Here

Examples of org.foray.ps.PsObject

    /**
     * {@inheritDoc}
     */
    public BigDecimal getStdVw() {
        final PsObject object = getWrappedDictionary().getItem(PsPrivateDictionary.STD_VW_KEY);
        if (object == null || ! (object instanceof PsArray)) {
            return null;
        }
        final PsArray psArray = (PsArray) object;
        final Object item = psArray.get(0);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.