Package | Description |
---|---|
com.aspose.pdf |
The
com.aspose.pdf is a root package for all classes of Aspose.Pdf.New library which are either directly in it like Document or indirectly through several subpackages. |
com.aspose.pdf.facades |
The
com.aspose.pdf.facades package provides classes originaly came from Aspose.Pdf.Kit. |
com.aspose.pdf.java.awt |
Modifier and Type | Method and Description |
---|---|
Color |
Page.getBackground()
Gets the background color of the page.
|
Color |
IDocument.getBackground()
Gets the background color of the document.
|
Color |
Document.getBackground()
Gets the background color of the document.
|
Color |
TextStyle.getColor()
Get the Color of the text.
|
Color |
OutlineItemCollection.getColor()
Gets the color for the title text of this outline item.
|
Color |
Operator.SetGrayStroke.getColor()
Returns color specified by operator.
|
Color |
Operator.SetGray.getColor()
Returns color specified by operator.
|
Color |
Operator.SetCMYKColorStroke.getColor()
Returns color
|
Color |
Operator.SetCMYKColor.getColor()
Returns color.
|
abstract Color |
Operator.SetColorOperator.getColor()
Retirns color specified by the operator.
|
Color |
Operator.SetRGBColorStroke.getColor()
Returns color specified by operator.
|
Color |
Operator.SetRGBColor.getColor()
Returns color specified by operator.
|
Color |
Operator.SetColorStroke.getColor()
Returns color specified by operator.
|
Color |
Operator.SetColor.getColor()
Returns color specified by the operator.
|
Color |
Operator.SetAdvancedColorStroke.getColor()
Returns color specified by operator.
|
Color |
Operator.SetAdvancedColor.getColor()
Retuns color specified by operator.
|
Color |
TextState.getForegroundColor()
Gets or sets foreground color of the text.
|
Color |
TextFragmentState.getForegroundColor()
Gets foreground color of the text, represented by the
TextFragment object
|
Color |
DefaultAppearance.getTextColor()
Gets color of text in the default appearance.
|
Color |
Color.toRgb()
Converts color into rgb.
|
Modifier and Type | Method and Description |
---|---|
static Color |
Color.fromRgb(Color color)
Gets valid pdf Color object from com.aspose.pdf.java.awt.Color value.
|
void |
Page.setBackground(Color value)
Sets the background color of the page.
|
void |
IDocument.setBackground(Color value)
Sets the background color of the document.
|
void |
Document.setBackground(Color value)
Sets the background color of the document.
|
void |
TextState.setBackgroundColor(Color value)
Sets background color of the text.
|
void |
TextParagraph.setBackgroundColor(Color value)
Sets background color for the text paragraph.
|
void |
TextFragmentState.setBackgroundColor(Color value)
Sets background color of the text, represented by the
TextFragment object
|
void |
TextStyle.setColor(Color value)
Set the Color of the text.
|
void |
OutlineItemCollection.setColor(Color value)
Sets the color for the title text of this outline item.
|
void |
TextState.setForegroundColor(Color value) |
void |
TextFragmentState.setForegroundColor(Color value)
Sets foreground color of the text, represented by the
TextFragment object
|
void |
DefaultAppearance.setTextColor(Color color) |
Constructor and Description |
---|
DefaultAppearance(Font font,
double fontSize,
Color textColor)
Constructor of DefaultAppearance.
|
DefaultAppearance(String fontName,
double fontSize,
Color textColor)
Constructor of DefaultAppearance.
|
Operator.SetRGBColor(Color color)
Initializes operator with color.
|
Operator.SetRGBColorStroke(Color color)
Initializes operator with color.
|
TextState(Color foregroundColor)
Creates text state object with foreground color specification.
|
TextState(Color foregroundColor,
double fontSize)
Creates text state object with foreground color and font size specification.
|
Modifier and Type | Method and Description |
---|---|
Color |
FormattedText.getBackColor()
Gets back color
|
Color |
FormFieldFacade.getBackgroundColor()
Get the color of a field background, default is white.
|
Color |
FormFieldFacade.getBorderColor()
The color of a field border.
|
Color |
TextProperties.getColor()
Gets text color.
|
Color |
LineInfo.getLineColor()
Gets the color of a line.
|
Color |
FormFieldFacade.getTextColor()
Get the color of the field text.
|
Color |
FormattedText.getTextColor()
Gets text color
|
Color |
Bookmark.getTitleColor()
Gets the color of bookmark's title.
|
Modifier and Type | Method and Description |
---|---|
void |
PdfContentEditor.createApplicationLink(Rectangle rect,
String application,
int page,
Color clr)
Creates a link to launch an application in PDF document.
|
void |
PdfContentEditor.createApplicationLink(Rectangle rect,
String application,
int page,
Color clr,
int[] actionName)
Creates a link to launch an application in PDF document.
|
void |
PdfBookmarkEditor.createBookmarks(Color color,
boolean boldFlag,
boolean italicFlag)
Create bookmarks for all pages with specified color and style (bold, italic).
|
void |
PdfContentEditor.createBookmarksAction(String title,
Color color,
boolean boldFlag,
boolean italicFlag,
String file,
String actionType,
String destination)
Creates a bookmark with the specified action.
|
void |
PdfContentEditor.createCaret(int page,
Rectangle annotRect,
Rectangle caretRect,
String symbol,
String annotContents,
Color color)
Creates caret annotation.
|
void |
PdfContentEditor.createCustomActionLink(Rectangle rect,
int originalPage,
Color color,
int[] actionName)
Creates a link to custom actions in PDF document.
|
void |
PdfContentEditor.createJavaScriptLink(String code,
Rectangle rect,
int originalPage,
Color color)
Creates a link to JavaScript in PDF document.
|
void |
PdfContentEditor.createLine(Rectangle rect,
String contents,
float x1,
float y1,
float x2,
float y2,
int page,
int border,
Color clr,
String borderStyle,
int[] dashArray,
String[] LEArray)
Creates line annotation.
|
void |
PdfContentEditor.createLocalLink(Rectangle rect,
int desPage,
int originalPage,
Color clr)
Creates a local link in PDF document.
|
void |
PdfContentEditor.createLocalLink(Rectangle rect,
int desPage,
int originalPage,
Color clr,
int[] actionName)
Creates a local link in PDF document.
|
void |
PdfContentEditor.createLocalLink(android.graphics.Rect rect,
int desPage,
int originalPage,
Color clr) |
void |
PdfContentEditor.createLocalLink(android.graphics.Rect rect,
int desPage,
int originalPage,
Color clr,
int[] actionName) |
void |
PdfContentEditor.createMarkup(Rectangle rect,
String contents,
int type,
int page,
Color clr)
Creates markup annotation it PDF document.
|
void |
PdfContentEditor.createPdfDocumentLink(Rectangle rect,
String remotePdf,
int originalPage,
int destinationPage,
Color clr)
Creates a link to another PDF document page.
|
void |
PdfContentEditor.createPdfDocumentLink(Rectangle rect,
String remotePdf,
int originalPage,
int destinationPage,
Color clr,
int[] actionName)
Creates a link to another PDF document page.
|
void |
PdfContentEditor.createRubberStamp(int page,
Rectangle annotRect,
String annotContents,
Color color,
InputStream appearanceStream)
Creates a rubber stamp annotation.
|
void |
PdfContentEditor.createRubberStamp(int page,
Rectangle annotRect,
String annotContents,
Color color,
String appearanceFile)
Creates a rubber stamp annotation.
|
void |
PdfContentEditor.createRubberStamp(int page,
Rectangle annotRect,
String icon,
String annotContents,
Color color)
Creates a rubber stamp annotation.
|
void |
PdfContentEditor.createSquareCircle(Rectangle rect,
String contents,
Color clr,
boolean square,
int page,
int borderWidth)
Creates square-circle annotation.
|
void |
PdfContentEditor.createWebLink(Rectangle rect,
String url,
int originalPage,
Color clr)
Creates a web link in PDF document.
|
void |
PdfContentEditor.createWebLink(Rectangle rect,
String url,
int originalPage,
Color clr,
int[] actionName)
Creates a web link in PDF document.
|
void |
PdfContentEditor.createWebLink(android.graphics.Rect rect,
String url,
int originalPage,
Color clr) |
void |
FormFieldFacade.setBackgroundColor(Color value)
Set the color of a field background, default is white.
|
void |
FormFieldFacade.setBorderColor(Color value) |
void |
TextProperties.setColor(Color value)
Sets text color.
|
void |
LineInfo.setLineColor(Color value)
Sets the color of a line.
|
void |
FormFieldFacade.setTextColor(Color value)
Set the color of the field text.
|
void |
Bookmark.setTitleColor(Color value)
Sets the color of bookmark's title.
|
Constructor and Description |
---|
FormattedText(String text,
Color textColor,
Color backColor)
Initializes FormattedText.
|
FormattedText(String text,
Color textColor,
Color backColor,
int textFont,
int encoding,
boolean embedded,
float textSize)
Initializes FormattedText.
|
FormattedText(String text,
Color textColor,
Color backColor,
int textFont,
int textEncoding,
boolean embedded,
float textSize,
float lineSpacing)
Initializes FormattedText.
|
FormattedText(String text,
Color textColor,
Color backColor,
String fontName,
int textEncoding,
boolean embedded,
float fontSize)
Initializes FormattedText.
|
FormattedText(String text,
Color color,
int textFont,
int textEncoding,
boolean embedded,
float textSize)
Initializes FormattedText.
|
FormattedText(String text,
Color textColor,
int textFont,
int textEncoding,
boolean embedded,
float textSize,
float lineSpacing)
Initializes FormattedText.
|
FormattedText(String text,
Color textColor,
String fontName,
int textEncoding,
boolean embedded,
float fontSize)
Initializes FormattedText.
|
Modifier and Type | Field and Description |
---|---|
static Color |
Color.AQUA |
static Color |
Color.BLACK |
static Color |
Color.BLUE |
static Color |
Color.CYAN |
static Color |
Color.GAINSBORO |
static Color |
Color.GRAY |
static Color |
Color.GREEN |
static Color |
Color.LIGHT_GRAY |
static Color |
Color.MAGENTA |
static Color |
Color.RED |
static Color |
Color.WHITE |
static Color |
Color.YELLOW |
Modifier and Type | Method and Description |
---|---|
Color |
Color.Clone() |
Copyright © 2019 Aspose. All Rights Reserved.