Skip to main content

SolidFill Class

Contains a PDF solid fill with a color space and color.

Declaration

public class SolidFill extends Fill

Remarks

The following code snippet searches for confidential information in a PDF document and creates redaction annotations over all matches:

package pdf;

import com.devexpress.docs.pdf.*;
import com.devexpress.system.drawing.*;

import java.nio.channels.*;
import java.nio.file.*;
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        try (FileChannel fileChannel = FileChannel.open(Path.of("Confidential.pdf"));
             PdfDocument pdfDocument = new PdfDocument(fileChannel)) {

            Page page = pdfDocument.getPages().getFirst();

            createRedactionAnnotation(pdfDocument);

            // Save the document.
            try (WritableByteChannel channel =
                         FileChannel.open(Path.of("Result.pdf"),
                                 StandardOpenOption.CREATE,
                                 StandardOpenOption.WRITE,
                                 StandardOpenOption.TRUNCATE_EXISTING)) {

                pdfDocument.save(channel);
            }
        }
    }

    static void createRedactionAnnotation(PdfDocument pdfDocument) {
        // Text strings to locate and redact.
        String[] searchTerms = {
                "Alex Carter",
                "+1 (415) 555-0187",
                "alex.carter@example.com",
                "742 Evergreen",
        };

        // Search text case-insensitively and match only whole words.
        TextSearchOptions searchOptions = new TextSearchOptions(false, true);

        // Search for each text string.
        for (String searchTerm : searchTerms) {

            // Find all occurrences of the current search string.
            Iterable<TextSearchInfo> results = pdfDocument.findText(searchTerm, searchOptions);

            // Process each search result.
            for (TextSearchInfo result : results) {

                // Get the page that contains the matched text.
                Page page = pdfDocument.getPages().get(result.getPageIndex());

                // Store the bounding boxes for all matched text fragments.
                List<RectangleF> areas = new ArrayList<>();

                // Process each text match.
                for (TextMatchInfo match : result.getMatches()) {

                    // A match can consist of multiple text fragments.
                    for (TextMatchFragment fragment : match.getMatchFragments()) {

                        // Add the fragment's bounding box to the list.
                        areas.add(fragment.getRectangle().getBoundingBox());
                    }
                }

                // Create a redaction annotation for each text fragment.
                for(RectangleF rectangle : areas) {

                    RedactionAnnotation annotation = new RedactionAnnotation(rectangle);

                    // Specify the annotation border color before the redaction is applied.
                    annotation.setColor(PdfColor.getRed());

                    // Specify the fill color after the redaction is applied.
                    annotation.setFillColor(PdfColor.getBlack());

                    // Specify the overlay text appearance.
                    annotation.setTextAppearance(new TextAppearance() {{
                        setFill(new SolidFill(PdfColor.getWhite()));
                        setFontSize(5);
                    }});

                    // Specify the overlay text.
                    annotation.setOverlayText("CONFIDENTIAL");

                    // Center the overlay text horizontally.
                    annotation.setTextJustification(TextJustification.CENTERED);

                    // Display the overlay text only once.
                    annotation.setRepeatText(false);

                    // Add the annotation to the page.
                    page.getAnnotations().add(annotation);
                }
            }
        }
    }
}

Inherited Members

com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
JavaObject
Fill
SolidFill

Constructors

SolidFill(ColorSpace colorSpace, PdfColor color, @Nullable Double opacity) Constructor

Initializes a new solid fill with the specified color space, color, and opacity.

Declaration

public SolidFill(ColorSpace colorSpace, PdfColor color, @Nullable Double opacity)

Parameters

Name Type Description
colorSpace ColorSpace

The solid fill color space.

color PdfColor

The solid fill color.

opacity

The fill opacity.

SolidFill(ColorSpace colorSpace, PdfColor color) Constructor

Initializes a new solid fill with the specified color space and color.

Declaration

public SolidFill(ColorSpace colorSpace, PdfColor color)

Parameters

Name Type Description
colorSpace ColorSpace

The solid fill color space.

color PdfColor

The solid fill color.

SolidFill(PdfColor color, @Nullable Double opacity) Constructor

Initializes a new solid fill with the specified color and opacity.

Declaration

public SolidFill(PdfColor color, @Nullable Double opacity)

Parameters

Name Type Description
color PdfColor

The solid fill color.

opacity

The fill opacity.

SolidFill(PdfColor color) Constructor

Initializes a new solid fill with the specified color.

Declaration

public SolidFill(PdfColor color)

Parameters

Name Type Description
color PdfColor

The solid fill color.

Methods

deepClone() Method

Creates a deep copy of the solid fill.

Declaration

public Fill deepClone()

Returns

Type Description
Fill

A deep copy of the solid fill.

equals(Object obj) Method

Returns whether the specified object equals this solid fill.

Declaration

public boolean equals(Object obj)

Parameters

Name Type Description
obj Object

The object to compare with this solid fill.

Returns

Type Description
boolean

true if the specified object equals this solid fill; otherwise, false.

getAliceBlue() Method

Returns an Alice Blue solid fill.

Declaration

public static SolidFill getAliceBlue()

Returns

Type Description
SolidFill

An Alice Blue solid fill.

getAntiqueWhite() Method

Returns an Antique White solid fill.

Declaration

public static SolidFill getAntiqueWhite()

Returns

Type Description
SolidFill

An Antique White solid fill.

getAqua() Method

Returns an Aqua solid fill.

Declaration

public static SolidFill getAqua()

Returns

Type Description
SolidFill

An Aqua solid fill.

getAquamarine() Method

Returns an Aquamarine solid fill.

Declaration

public static SolidFill getAquamarine()

Returns

Type Description
SolidFill

An Aquamarine solid fill.

getAzure() Method

Returns an Azure solid fill.

Declaration

public static SolidFill getAzure()

Returns

Type Description
SolidFill

An Azure solid fill.

getBeige() Method

Returns a Beige solid fill.

Declaration

public static SolidFill getBeige()

Returns

Type Description
SolidFill

A Beige solid fill.

getBisque() Method

Returns a Bisque solid fill.

Declaration

public static SolidFill getBisque()

Returns

Type Description
SolidFill

A Bisque solid fill.

getBlack() Method

Returns a Black solid fill.

Declaration

public static SolidFill getBlack()

Returns

Type Description
SolidFill

A Black solid fill.

getBlanchedAlmond() Method

Returns a Blanched Almond solid fill.

Declaration

public static SolidFill getBlanchedAlmond()

Returns

Type Description
SolidFill

A Blanched Almond solid fill.

getBlue() Method

Returns a Blue solid fill.

Declaration

public static SolidFill getBlue()

Returns

Type Description
SolidFill

A Blue solid fill.

getBlueViolet() Method

Returns a Blue Violet solid fill.

Declaration

public static SolidFill getBlueViolet()

Returns

Type Description
SolidFill

A Blue Violet solid fill.

getBrown() Method

Returns a Brown solid fill.

Declaration

public static SolidFill getBrown()

Returns

Type Description
SolidFill

A Brown solid fill.

getBurlyWood() Method

Returns a Burly Wood solid fill.

Declaration

public static SolidFill getBurlyWood()

Returns

Type Description
SolidFill

A Burly Wood solid fill.

getCadetBlue() Method

Returns a Cadet Blue solid fill.

Declaration

public static SolidFill getCadetBlue()

Returns

Type Description
SolidFill

A Cadet Blue solid fill.

getChartreuse() Method

Returns a Chartreuse solid fill.

Declaration

public static SolidFill getChartreuse()

Returns

Type Description
SolidFill

A Chartreuse solid fill.

getChocolate() Method

Returns a Chocolate solid fill.

Declaration

public static SolidFill getChocolate()

Returns

Type Description
SolidFill

A Chocolate solid fill.

getColor() Method

Returns the solid fill color.

Declaration

public PdfColor getColor()

Returns

Type Description
PdfColor

The solid fill color.

getColorSpace() Method

Returns the solid fill color space.

Declaration

public ColorSpace getColorSpace()

Returns

Type Description
ColorSpace

The solid fill color space.

getCoral() Method

Returns a Coral solid fill.

Declaration

public static SolidFill getCoral()

Returns

Type Description
SolidFill

A Coral solid fill.

getCornflowerBlue() Method

Returns a Cornflower Blue solid fill.

Declaration

public static SolidFill getCornflowerBlue()

Returns

Type Description
SolidFill

A Cornflower Blue solid fill.

getCornsilk() Method

Returns a Cornsilk solid fill.

Declaration

public static SolidFill getCornsilk()

Returns

Type Description
SolidFill

A Cornsilk solid fill.

getCrimson() Method

Returns a Crimson solid fill.

Declaration

public static SolidFill getCrimson()

Returns

Type Description
SolidFill

A Crimson solid fill.

getCyan() Method

Returns a Cyan solid fill.

Declaration

public static SolidFill getCyan()

Returns

Type Description
SolidFill

A Cyan solid fill.

getDarkBlue() Method

Returns a Dark Blue solid fill.

Declaration

public static SolidFill getDarkBlue()

Returns

Type Description
SolidFill

A Dark Blue solid fill.

getDarkCyan() Method

Returns a Dark Cyan solid fill.

Declaration

public static SolidFill getDarkCyan()

Returns

Type Description
SolidFill

A Dark Cyan solid fill.

getDarkGoldenrod() Method

Returns a Dark Goldenrod solid fill.

Declaration

public static SolidFill getDarkGoldenrod()

Returns

Type Description
SolidFill

A Dark Goldenrod solid fill.

getDarkGray() Method

Returns a Dark Gray solid fill.

Declaration

public static SolidFill getDarkGray()

Returns

Type Description
SolidFill

A Dark Gray solid fill.

getDarkGreen() Method

Returns a Dark Green solid fill.

Declaration

public static SolidFill getDarkGreen()

Returns

Type Description
SolidFill

A Dark Green solid fill.

getDarkKhaki() Method

Returns a Dark Khaki solid fill.

Declaration

public static SolidFill getDarkKhaki()

Returns

Type Description
SolidFill

A Dark Khaki solid fill.

getDarkMagenta() Method

Returns a Dark Magenta solid fill.

Declaration

public static SolidFill getDarkMagenta()

Returns

Type Description
SolidFill

A Dark Magenta solid fill.

getDarkOliveGreen() Method

Returns a Dark Olive Green solid fill.

Declaration

public static SolidFill getDarkOliveGreen()

Returns

Type Description
SolidFill

A Dark Olive Green solid fill.

getDarkOrange() Method

Returns a Dark Orange solid fill.

Declaration

public static SolidFill getDarkOrange()

Returns

Type Description
SolidFill

A Dark Orange solid fill.

getDarkOrchid() Method

Returns a Dark Orchid solid fill.

Declaration

public static SolidFill getDarkOrchid()

Returns

Type Description
SolidFill

A Dark Orchid solid fill.

getDarkRed() Method

Returns a Dark Red solid fill.

Declaration

public static SolidFill getDarkRed()

Returns

Type Description
SolidFill

A Dark Red solid fill.

getDarkSalmon() Method

Returns a Dark Salmon solid fill.

Declaration

public static SolidFill getDarkSalmon()

Returns

Type Description
SolidFill

A Dark Salmon solid fill.

getDarkSeaGreen() Method

Returns a Dark Sea Green solid fill.

Declaration

public static SolidFill getDarkSeaGreen()

Returns

Type Description
SolidFill

A Dark Sea Green solid fill.

getDarkSlateBlue() Method

Returns a Dark Slate Blue solid fill.

Declaration

public static SolidFill getDarkSlateBlue()

Returns

Type Description
SolidFill

A Dark Slate Blue solid fill.

getDarkSlateGray() Method

Returns a Dark Slate Gray solid fill.

Declaration

public static SolidFill getDarkSlateGray()

Returns

Type Description
SolidFill

A Dark Slate Gray solid fill.

getDarkTurquoise() Method

Returns a Dark Turquoise solid fill.

Declaration

public static SolidFill getDarkTurquoise()

Returns

Type Description
SolidFill

A Dark Turquoise solid fill.

getDarkViolet() Method

Returns a Dark Violet solid fill.

Declaration

public static SolidFill getDarkViolet()

Returns

Type Description
SolidFill

A Dark Violet solid fill.

getDeepPink() Method

Returns a Deep Pink solid fill.

Declaration

public static SolidFill getDeepPink()

Returns

Type Description
SolidFill

A Deep Pink solid fill.

getDeepSkyBlue() Method

Returns a Deep Sky Blue solid fill.

Declaration

public static SolidFill getDeepSkyBlue()

Returns

Type Description
SolidFill

A Deep Sky Blue solid fill.

getDimGray() Method

Returns a Dim Gray solid fill.

Declaration

public static SolidFill getDimGray()

Returns

Type Description
SolidFill

A Dim Gray solid fill.

getDodgerBlue() Method

Returns a Dodger Blue solid fill.

Declaration

public static SolidFill getDodgerBlue()

Returns

Type Description
SolidFill

A Dodger Blue solid fill.

getFirebrick() Method

Returns a Firebrick solid fill.

Declaration

public static SolidFill getFirebrick()

Returns

Type Description
SolidFill

A Firebrick solid fill.

getFloralWhite() Method

Returns a Floral White solid fill.

Declaration

public static SolidFill getFloralWhite()

Returns

Type Description
SolidFill

A Floral White solid fill.

getForestGreen() Method

Returns a Forest Green solid fill.

Declaration

public static SolidFill getForestGreen()

Returns

Type Description
SolidFill

A Forest Green solid fill.

getFuchsia() Method

Returns a Fuchsia solid fill.

Declaration

public static SolidFill getFuchsia()

Returns

Type Description
SolidFill

A Fuchsia solid fill.

getGainsboro() Method

Returns a Gainsboro solid fill.

Declaration

public static SolidFill getGainsboro()

Returns

Type Description
SolidFill

A Gainsboro solid fill.

getGhostWhite() Method

Returns a Ghost White solid fill.

Declaration

public static SolidFill getGhostWhite()

Returns

Type Description
SolidFill

A Ghost White solid fill.

getGold() Method

Returns a Gold solid fill.

Declaration

public static SolidFill getGold()

Returns

Type Description
SolidFill

A Gold solid fill.

getGoldenrod() Method

Returns a Goldenrod solid fill.

Declaration

public static SolidFill getGoldenrod()

Returns

Type Description
SolidFill

A Goldenrod solid fill.

getGray() Method

Returns a Gray solid fill.

Declaration

public static SolidFill getGray()

Returns

Type Description
SolidFill

A Gray solid fill.

getGreen() Method

Returns a Green solid fill.

Declaration

public static SolidFill getGreen()

Returns

Type Description
SolidFill

A Green solid fill.

getGreenYellow() Method

Returns a Green Yellow solid fill.

Declaration

public static SolidFill getGreenYellow()

Returns

Type Description
SolidFill

A Green Yellow solid fill.

getHoneydew() Method

Returns a Honeydew solid fill.

Declaration

public static SolidFill getHoneydew()

Returns

Type Description
SolidFill

A Honeydew solid fill.

getHotPink() Method

Returns a Hot Pink solid fill.

Declaration

public static SolidFill getHotPink()

Returns

Type Description
SolidFill

A Hot Pink solid fill.

getIndianRed() Method

Returns an Indian Red solid fill.

Declaration

public static SolidFill getIndianRed()

Returns

Type Description
SolidFill

An Indian Red solid fill.

getIndigo() Method

Returns an Indigo solid fill.

Declaration

public static SolidFill getIndigo()

Returns

Type Description
SolidFill

An Indigo solid fill.

getIvory() Method

Returns an Ivory solid fill.

Declaration

public static SolidFill getIvory()

Returns

Type Description
SolidFill

An Ivory solid fill.

getKhaki() Method

Returns a Khaki solid fill.

Declaration

public static SolidFill getKhaki()

Returns

Type Description
SolidFill

A Khaki solid fill.

getLavender() Method

Returns a Lavender solid fill.

Declaration

public static SolidFill getLavender()

Returns

Type Description
SolidFill

A Lavender solid fill.

getLavenderBlush() Method

Returns a Lavender Blush solid fill.

Declaration

public static SolidFill getLavenderBlush()

Returns

Type Description
SolidFill

A Lavender Blush solid fill.

getLawnGreen() Method

Returns a Lawn Green solid fill.

Declaration

public static SolidFill getLawnGreen()

Returns

Type Description
SolidFill

A Lawn Green solid fill.

getLemonChiffon() Method

Returns a Lemon Chiffon solid fill.

Declaration

public static SolidFill getLemonChiffon()

Returns

Type Description
SolidFill

A Lemon Chiffon solid fill.

getLightBlue() Method

Returns a Light Blue solid fill.

Declaration

public static SolidFill getLightBlue()

Returns

Type Description
SolidFill

A Light Blue solid fill.

getLightCoral() Method

Returns a Light Coral solid fill.

Declaration

public static SolidFill getLightCoral()

Returns

Type Description
SolidFill

A Light Coral solid fill.

getLightCyan() Method

Returns a Light Cyan solid fill.

Declaration

public static SolidFill getLightCyan()

Returns

Type Description
SolidFill

A Light Cyan solid fill.

getLightGoldenrodYellow() Method

Returns a Light Goldenrod Yellow solid fill.

Declaration

public static SolidFill getLightGoldenrodYellow()

Returns

Type Description
SolidFill

A Light Goldenrod Yellow solid fill.

getLightGray() Method

Returns a Light Gray solid fill.

Declaration

public static SolidFill getLightGray()

Returns

Type Description
SolidFill

A Light Gray solid fill.

getLightGreen() Method

Returns a Light Green solid fill.

Declaration

public static SolidFill getLightGreen()

Returns

Type Description
SolidFill

A Light Green solid fill.

getLightPink() Method

Returns a Light Pink solid fill.

Declaration

public static SolidFill getLightPink()

Returns

Type Description
SolidFill

A Light Pink solid fill.

getLightSalmon() Method

Returns a Light Salmon solid fill.

Declaration

public static SolidFill getLightSalmon()

Returns

Type Description
SolidFill

A Light Salmon solid fill.

getLightSeaGreen() Method

Returns a Light Sea Green solid fill.

Declaration

public static SolidFill getLightSeaGreen()

Returns

Type Description
SolidFill

A Light Sea Green solid fill.

getLightSkyBlue() Method

Returns a Light Sky Blue solid fill.

Declaration

public static SolidFill getLightSkyBlue()

Returns

Type Description
SolidFill

A Light Sky Blue solid fill.

getLightSlateGray() Method

Returns a Light Slate Gray solid fill.

Declaration

public static SolidFill getLightSlateGray()

Returns

Type Description
SolidFill

A Light Slate Gray solid fill.

getLightSteelBlue() Method

Returns a Light Steel Blue solid fill.

Declaration

public static SolidFill getLightSteelBlue()

Returns

Type Description
SolidFill

A Light Steel Blue solid fill.

getLightYellow() Method

Returns a Light Yellow solid fill.

Declaration

public static SolidFill getLightYellow()

Returns

Type Description
SolidFill

A Light Yellow solid fill.

getLime() Method

Returns a Lime solid fill.

Declaration

public static SolidFill getLime()

Returns

Type Description
SolidFill

A Lime solid fill.

getLimeGreen() Method

Returns a Lime Green solid fill.

Declaration

public static SolidFill getLimeGreen()

Returns

Type Description
SolidFill

A Lime Green solid fill.

getLinen() Method

Returns a Linen solid fill.

Declaration

public static SolidFill getLinen()

Returns

Type Description
SolidFill

A Linen solid fill.

getMagenta() Method

Returns a Magenta solid fill.

Declaration

public static SolidFill getMagenta()

Returns

Type Description
SolidFill

A Magenta solid fill.

getMaroon() Method

Returns a Maroon solid fill.

Declaration

public static SolidFill getMaroon()

Returns

Type Description
SolidFill

A Maroon solid fill.

getMediumAquamarine() Method

Returns a Medium Aquamarine solid fill.

Declaration

public static SolidFill getMediumAquamarine()

Returns

Type Description
SolidFill

A Medium Aquamarine solid fill.

getMediumBlue() Method

Returns a Medium Blue solid fill.

Declaration

public static SolidFill getMediumBlue()

Returns

Type Description
SolidFill

A Medium Blue solid fill.

getMediumOrchid() Method

Returns a Medium Orchid solid fill.

Declaration

public static SolidFill getMediumOrchid()

Returns

Type Description
SolidFill

A Medium Orchid solid fill.

getMediumPurple() Method

Returns a Medium Purple solid fill.

Declaration

public static SolidFill getMediumPurple()

Returns

Type Description
SolidFill

A Medium Purple solid fill.

getMediumSeaGreen() Method

Returns a Medium Sea Green solid fill.

Declaration

public static SolidFill getMediumSeaGreen()

Returns

Type Description
SolidFill

A Medium Sea Green solid fill.

getMediumSlateBlue() Method

Returns a Medium Slate Blue solid fill.

Declaration

public static SolidFill getMediumSlateBlue()

Returns

Type Description
SolidFill

A Medium Slate Blue solid fill.

getMediumSpringGreen() Method

Returns a Medium Spring Green solid fill.

Declaration

public static SolidFill getMediumSpringGreen()

Returns

Type Description
SolidFill

A Medium Spring Green solid fill.

getMediumTurquoise() Method

Returns a Medium Turquoise solid fill.

Declaration

public static SolidFill getMediumTurquoise()

Returns

Type Description
SolidFill

A Medium Turquoise solid fill.

getMediumVioletRed() Method

Returns a Medium Violet Red solid fill.

Declaration

public static SolidFill getMediumVioletRed()

Returns

Type Description
SolidFill

A Medium Violet Red solid fill.

getMidnightBlue() Method

Returns a Midnight Blue solid fill.

Declaration

public static SolidFill getMidnightBlue()

Returns

Type Description
SolidFill

A Midnight Blue solid fill.

getMintCream() Method

Returns a Mint Cream solid fill.

Declaration

public static SolidFill getMintCream()

Returns

Type Description
SolidFill

A Mint Cream solid fill.

getMistyRose() Method

Returns a Misty Rose solid fill.

Declaration

public static SolidFill getMistyRose()

Returns

Type Description
SolidFill

A Misty Rose solid fill.

getMoccasin() Method

Returns a Moccasin solid fill.

Declaration

public static SolidFill getMoccasin()

Returns

Type Description
SolidFill

A Moccasin solid fill.

getNavajoWhite() Method

Returns a Navajo White solid fill.

Declaration

public static SolidFill getNavajoWhite()

Returns

Type Description
SolidFill

A Navajo White solid fill.

getNavy() Method

Returns a Navy solid fill.

Declaration

public static SolidFill getNavy()

Returns

Type Description
SolidFill

A Navy solid fill.

getOldLace() Method

Returns an Old Lace solid fill.

Declaration

public static SolidFill getOldLace()

Returns

Type Description
SolidFill

An Old Lace solid fill.

getOlive() Method

Returns an Olive solid fill.

Declaration

public static SolidFill getOlive()

Returns

Type Description
SolidFill

An Olive solid fill.

getOliveDrab() Method

Returns an Olive Drab solid fill.

Declaration

public static SolidFill getOliveDrab()

Returns

Type Description
SolidFill

An Olive Drab solid fill.

getOrange() Method

Returns an Orange solid fill.

Declaration

public static SolidFill getOrange()

Returns

Type Description
SolidFill

An Orange solid fill.

getOrangeRed() Method

Returns an Orange Red solid fill.

Declaration

public static SolidFill getOrangeRed()

Returns

Type Description
SolidFill

An Orange Red solid fill.

getOrchid() Method

Returns an Orchid solid fill.

Declaration

public static SolidFill getOrchid()

Returns

Type Description
SolidFill

An Orchid solid fill.

getPaleGoldenrod() Method

Returns a Pale Goldenrod solid fill.

Declaration

public static SolidFill getPaleGoldenrod()

Returns

Type Description
SolidFill

A Pale Goldenrod solid fill.

getPaleGreen() Method

Returns a Pale Green solid fill.

Declaration

public static SolidFill getPaleGreen()

Returns

Type Description
SolidFill

A Pale Green solid fill.

getPaleTurquoise() Method

Returns a Pale Turquoise solid fill.

Declaration

public static SolidFill getPaleTurquoise()

Returns

Type Description
SolidFill

A Pale Turquoise solid fill.

getPaleVioletRed() Method

Returns a Pale Violet Red solid fill.

Declaration

public static SolidFill getPaleVioletRed()

Returns

Type Description
SolidFill

A Pale Violet Red solid fill.

getPapayaWhip() Method

Returns a Papaya Whip solid fill.

Declaration

public static SolidFill getPapayaWhip()

Returns

Type Description
SolidFill

A Papaya Whip solid fill.

getPeachPuff() Method

Returns a Peach Puff solid fill.

Declaration

public static SolidFill getPeachPuff()

Returns

Type Description
SolidFill

A Peach Puff solid fill.

getPeru() Method

Returns a Peru solid fill.

Declaration

public static SolidFill getPeru()

Returns

Type Description
SolidFill

A Peru solid fill.

getPink() Method

Returns a Pink solid fill.

Declaration

public static SolidFill getPink()

Returns

Type Description
SolidFill

A Pink solid fill.

getPlum() Method

Returns a Plum solid fill.

Declaration

public static SolidFill getPlum()

Returns

Type Description
SolidFill

A Plum solid fill.

getPowderBlue() Method

Returns a Powder Blue solid fill.

Declaration

public static SolidFill getPowderBlue()

Returns

Type Description
SolidFill

A Powder Blue solid fill.

getPurple() Method

Returns a Purple solid fill.

Declaration

public static SolidFill getPurple()

Returns

Type Description
SolidFill

A Purple solid fill.

getRed() Method

Returns a Red solid fill.

Declaration

public static SolidFill getRed()

Returns

Type Description
SolidFill

A Red solid fill.

getRosyBrown() Method

Returns a Rosy Brown solid fill.

Declaration

public static SolidFill getRosyBrown()

Returns

Type Description
SolidFill

A Rosy Brown solid fill.

getRoyalBlue() Method

Returns a Royal Blue solid fill.

Declaration

public static SolidFill getRoyalBlue()

Returns

Type Description
SolidFill

A Royal Blue solid fill.

getSaddleBrown() Method

Returns a Saddle Brown solid fill.

Declaration

public static SolidFill getSaddleBrown()

Returns

Type Description
SolidFill

A Saddle Brown solid fill.

getSalmon() Method

Returns a Salmon solid fill.

Declaration

public static SolidFill getSalmon()

Returns

Type Description
SolidFill

A Salmon solid fill.

getSandyBrown() Method

Returns a Sandy Brown solid fill.

Declaration

public static SolidFill getSandyBrown()

Returns

Type Description
SolidFill

A Sandy Brown solid fill.

getSeaGreen() Method

Returns a Sea Green solid fill.

Declaration

public static SolidFill getSeaGreen()

Returns

Type Description
SolidFill

A Sea Green solid fill.

getSeaShell() Method

Returns a Sea Shell solid fill.

Declaration

public static SolidFill getSeaShell()

Returns

Type Description
SolidFill

A Sea Shell solid fill.

getSienna() Method

Returns a Sienna solid fill.

Declaration

public static SolidFill getSienna()

Returns

Type Description
SolidFill

A Sienna solid fill.

getSilver() Method

Returns a Silver solid fill.

Declaration

public static SolidFill getSilver()

Returns

Type Description
SolidFill

A Silver solid fill.

getSkyBlue() Method

Returns a Sky Blue solid fill.

Declaration

public static SolidFill getSkyBlue()

Returns

Type Description
SolidFill

A Sky Blue solid fill.

getSlateBlue() Method

Returns a Slate Blue solid fill.

Declaration

public static SolidFill getSlateBlue()

Returns

Type Description
SolidFill

A Slate Blue solid fill.

getSlateGray() Method

Returns a Slate Gray solid fill.

Declaration

public static SolidFill getSlateGray()

Returns

Type Description
SolidFill

A Slate Gray solid fill.

getSnow() Method

Returns a Snow solid fill.

Declaration

public static SolidFill getSnow()

Returns

Type Description
SolidFill

A Snow solid fill.

getSpringGreen() Method

Returns a Spring Green solid fill.

Declaration

public static SolidFill getSpringGreen()

Returns

Type Description
SolidFill

A Spring Green solid fill.

getSteelBlue() Method

Returns a Steel Blue solid fill.

Declaration

public static SolidFill getSteelBlue()

Returns

Type Description
SolidFill

A Steel Blue solid fill.

getTan() Method

Returns a Tan solid fill.

Declaration

public static SolidFill getTan()

Returns

Type Description
SolidFill

A Tan solid fill.

getTeal() Method

Returns a Teal solid fill.

Declaration

public static SolidFill getTeal()

Returns

Type Description
SolidFill

A Teal solid fill.

getThistle() Method

Returns a Thistle solid fill.

Declaration

public static SolidFill getThistle()

Returns

Type Description
SolidFill

A Thistle solid fill.

getTomato() Method

Returns a Tomato solid fill.

Declaration

public static SolidFill getTomato()

Returns

Type Description
SolidFill

A Tomato solid fill.

getTurquoise() Method

Returns a Turquoise solid fill.

Declaration

public static SolidFill getTurquoise()

Returns

Type Description
SolidFill

A Turquoise solid fill.

getViolet() Method

Returns a Violet solid fill.

Declaration

public static SolidFill getViolet()

Returns

Type Description
SolidFill

A Violet solid fill.

getWheat() Method

Returns a Wheat solid fill.

Declaration

public static SolidFill getWheat()

Returns

Type Description
SolidFill

A Wheat solid fill.

getWhite() Method

Returns a White solid fill.

Declaration

public static SolidFill getWhite()

Returns

Type Description
SolidFill

A White solid fill.

getWhiteSmoke() Method

Returns a White Smoke solid fill.

Declaration

public static SolidFill getWhiteSmoke()

Returns

Type Description
SolidFill

A White Smoke solid fill.

getYellow() Method

Returns a Yellow solid fill.

Declaration

public static SolidFill getYellow()

Returns

Type Description
SolidFill

A Yellow solid fill.

getYellowGreen() Method

Returns a Yellow Green solid fill.

Declaration

public static SolidFill getYellowGreen()

Returns

Type Description
SolidFill

A Yellow Green solid fill.

hashCode() Method

Returns the hash code for the solid fill.

Declaration

public int hashCode()

Returns

Type Description
int

The hash code for the solid fill.