Packages

 

com.aspose.imaging.fileformats.emf.emf.objects

Class EmfLogPen

  • All Implemented Interfaces:
    Cloneable


    public final class EmfLogPen
    extends EmfBasePen

    The LogPen object defines the style, width, and color of a logical pen.

    • Constructor Summary

      Constructors 
      Constructor and Description
      EmfLogPen() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getAffectWidth()
      Gets or sets the width of the affect.
      int getArgb32ColorRef()
      Gets or sets a WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies the pen color value.
      int getPenStyle()
      Gets or sets a 32-bit unsigned integer that specifies the PenStyle.
      Point getWidth()
      Gets or sets a WMF PointL object ([MS-WMF] section 2.2.2.15) that specifies the width of the pen by the value of its x field.
      void setAffectWidth(int value)
      Gets or sets the width of the affect.
      void setArgb32ColorRef(int value)
      Gets or sets a WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies the pen color value.
      void setPenStyle(int value)
      Gets or sets a 32-bit unsigned integer that specifies the PenStyle.
      void setWidth(Point value)
      Gets or sets a WMF PointL object ([MS-WMF] section 2.2.2.15) that specifies the width of the pen by the value of its x field.
    • Constructor Detail

      • EmfLogPen

        public EmfLogPen()
    • Method Detail

      • getPenStyle

        public int getPenStyle()

        Gets or sets a 32-bit unsigned integer that specifies the PenStyle. The value MUST be defined from the PenStyle enumeration table, specified in section 2.1.25.

        Specified by:
        getPenStyle in class EmfBasePen
      • setPenStyle

        public void setPenStyle(int value)

        Gets or sets a 32-bit unsigned integer that specifies the PenStyle. The value MUST be defined from the PenStyle enumeration table, specified in section 2.1.25.

        Specified by:
        setPenStyle in class EmfBasePen
      • getWidth

        public Point getWidth()

        Gets or sets a WMF PointL object ([MS-WMF] section 2.2.2.15) that specifies the width of the pen by the value of its x field. The value of its y field MUST be ignored.

      • setWidth

        public void setWidth(Point value)

        Gets or sets a WMF PointL object ([MS-WMF] section 2.2.2.15) that specifies the width of the pen by the value of its x field. The value of its y field MUST be ignored.

      • getAffectWidth

        public int getAffectWidth()

        Gets or sets the width of the affect.

        Value: The width of the affect.
      • setAffectWidth

        public void setAffectWidth(int value)

        Gets or sets the width of the affect.

        Value: The width of the affect.
      • getArgb32ColorRef

        public int getArgb32ColorRef()

        Gets or sets a WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies the pen color value.

        Value: The 32-bit ARGB color
        Specified by:
        getArgb32ColorRef in class EmfBasePen
      • setArgb32ColorRef

        public void setArgb32ColorRef(int value)

        Gets or sets a WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies the pen color value.

        Value: The 32-bit ARGB color
        Specified by:
        setArgb32ColorRef in class EmfBasePen