com.aspose.barcode.generation

Class BorderParameters

  • java.lang.Object
    • com.aspose.barcode.generation.BorderParameters


  • public class BorderParameters
    extends java.lang.Object

    Barcode image border parameters

    • Method Detail

      • getVisible

        public boolean getVisible()

        Border visibility. If false than parameter Width is always ignored (0). Default value: false.

      • setVisible

        public void setVisible(boolean value)

        Border visibility. If false than parameter Width is always ignored (0). Default value: false.

      • getWidth

        public Unit getWidth()

        Border width. Default value: 0. Ignored if Visible is set to false.

      • setWidth

        public void setWidth(Unit value)

        Border width. Default value: 0. Ignored if Visible is set to false.

      • getWidthPx

        public int getWidthPx()
      • toString

        public java.lang.String toString()

        Returns a human-readable string representation of this BorderParameters.

        Overrides:
        toString in class java.lang.Object
        Returns:
        A string that represents this BorderParameters.
      • getDashStyle

        public BorderDashStyle getDashStyle()

        Border dash style. Default value: BorderDashStyle.Solid.

      • setDashStyle

        public void setDashStyle(BorderDashStyle value)

        Border dash style. Default value: BorderDashStyle.Solid.

      • getColor

        public java.awt.Color getColor()

        Border color. Default value: Color.BLACK.

      • setColor

        public void setColor(java.awt.Color value)

        Border color. Default value: Color.BLACK.