com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class Colors



  • public class Colors
    extends Object

    Set of colors for calendar object

    • Constructor Detail

      • Colors

        public Colors()

        Initializes a new instance of the Colors class.

      • Colors

        public Colors(String background,
              String foreground)

        Initializes a new instance of the Colors class.

        Parameters:
        background - The background color associated with this color definition.
        foreground - The foreground color that can be used to write on top of a background with 'background' color.
    • Method Detail

      • getBackground

        public final String getBackground()

        The background color associated with this color definition.

      • setBackground

        public final void setBackground(String value)

        The background color associated with this color definition.

      • getForeground

        public final String getForeground()

        The foreground color that can be used to write on top of a background with 'background' color.

      • setForeground

        public final void setForeground(String value)

        The foreground color that can be used to write on top of a background with 'background' color.

      • toString

        public String toString()

        Returns a String which represents the object instance.

        Overrides:
        toString in class Object
        Returns:
        Returns a String which represents the object instance.

Copyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.