Package com.itextpdf.kernel.font
Class Type3Glyph
java.lang.Object
com.itextpdf.kernel.pdf.canvas.PdfCanvas
com.itextpdf.kernel.font.Type3Glyph
The content where Type3 glyphs are written to.
-
Field Summary
Fields inherited from class com.itextpdf.kernel.pdf.canvas.PdfCanvas
contentStream, currentGs, document, gsStack, layerDepth, mcDepth, resources
-
Method Summary
Modifier and TypeMethodDescriptionaddImageWithTransformationMatrix
(ImageData image, float a, float b, float c, float d, float e, float f, boolean inlineImage) Creates Image XObject from image and adds it to canvas.float
getLlx()
float
getLly()
float
getUrx()
float
getUry()
float
getWx()
boolean
isColor()
Indicates if the glyph color specified in the glyph description or not.Methods inherited from class com.itextpdf.kernel.pdf.canvas.PdfCanvas
addImageAt, addImageFittedIntoRectangle, addImageWithTransformationMatrix, addInlineImage, addXObject, addXObject, addXObjectAt, addXObjectFittedIntoRectangle, addXObjectWithTransformationMatrix, arc, arcContinuous, attachContentStream, beginLayer, beginMarkedContent, beginMarkedContent, beginText, beginVariableText, bezierArc, circle, clip, closePath, closePathEoFillStroke, closePathFillStroke, closePathStroke, closeTag, concatMatrix, concatMatrix, concatMatrix, curveFromTo, curveTo, curveTo, ellipse, endLayer, endMarkedContent, endPath, endText, endVariableText, eoClip, eoFill, eoFillStroke, fill, fillStroke, getContentStream, getDocument, getGraphicsState, getResources, lineTo, moveText, moveTextWithLeading, moveTo, newlineShowText, newlineShowText, newlineText, openTag, openTag, paintShading, rectangle, rectangle, release, resetFillColorCmyk, resetFillColorGray, resetFillColorRgb, resetStrokeColorCmyk, resetStrokeColorGray, resetStrokeColorRgb, restoreState, roundRectangle, saveState, setCharacterSpacing, setColor, setColor, setColor, setExtGState, setExtGState, setFillColor, setFillColorCmyk, setFillColorGray, setFillColorRgb, setFillColorShading, setFlatnessTolerance, setFontAndSize, setHorizontalScaling, setLeading, setLineCapStyle, setLineDash, setLineDash, setLineDash, setLineDash, setLineJoinStyle, setLineWidth, setMiterLimit, setRenderingIntent, setStrokeColor, setStrokeColorCmyk, setStrokeColorGray, setStrokeColorRgb, setStrokeColorShading, setTextMatrix, setTextMatrix, setTextMatrix, setTextRenderingMode, setTextRise, setWordSpacing, showText, showText, showText, showText, stroke, writeLiteral, writeLiteral, writeLiteral
-
Method Details
-
getWx
public float getWx() -
getLlx
public float getLlx() -
getLly
public float getLly() -
getUrx
public float getUrx() -
getUry
public float getUry() -
isColor
public boolean isColor()Indicates if the glyph color specified in the glyph description or not.- Returns:
- whether the glyph color is specified in the glyph description or not
-
addImageWithTransformationMatrix
public PdfXObject addImageWithTransformationMatrix(ImageData image, float a, float b, float c, float d, float e, float f, boolean inlineImage) Creates Image XObject from image and adds it to canvas. Performs additional checks to make sure that we only add mask images to not colorized type 3 fonts.- Overrides:
-
addImageWithTransformationMatrix
in classPdfCanvas
- Parameters:
-
image
- thePdfImageXObject
object -
a
- an element of the transformation matrix -
b
- an element of the transformation matrix -
c
- an element of the transformation matrix -
d
- an element of the transformation matrix -
e
- an element of the transformation matrix -
f
- an element of the transformation matrix -
inlineImage
- true if to add image as in-line. - Returns:
- created Image XObject or null in case of in-line image (asInline = true).
- See Also:
-