Class Avatar

    • Constructor Detail

      • Avatar

        public Avatar()
        Creates a new empty Avatar, with default settings
      • Avatar

        public Avatar​(double radius)
        Creates an empty Avatar instance of the given radius.
        Parameters:
        radius - The radius of the Avatar clipping circle.
      • Avatar

        public Avatar​(double radius,
                      Image image)
        Creates an Avatar instance of the given radius, with the given Image in the center of it.
        Parameters:
        radius - The radius of the Avatar clipping circle.
        image - The image to display within the Avatar.
    • Method Detail

      • getRadius

        public final double getRadius()
        Gets the value of the property radius.
        Property description:
        The radius of the Avatar clipping circle.
      • setRadius

        public final void setRadius​(double radius)
        Sets the value of the property radius.
        Property description:
        The radius of the Avatar clipping circle.
      • setImage

        public final void setImage​(Image image)
        Sets the value of the property image.
        Property description:
        The image to display within the Avatar.
      • getImage

        public final Image getImage()
        Gets the value of the property image.
        Property description:
        The image to display within the Avatar.
      • getClassCssMetaData

        public static List<CssMetaData<? extends Styleable,​?>> getClassCssMetaData()
        Returns:
        The CssMetaData associated with this class, which may include the CssMetaData of its super classes.