iText 9.1.0 API
iText.Kernel.Pdf.Canvas.Wmf.MetaPen Class Reference

A Pen object of the WMF format. More...

Inheritance diagram for iText.Kernel.Pdf.Canvas.Wmf.MetaPen:
iText.Kernel.Pdf.Canvas.Wmf.MetaObject

Public Member Functions

  MetaPen ()
  Creates a MetaPen object. More...
 
virtual void  Init (InputMeta @in)
  Initializes a MetaPen object. More...
 
virtual int  GetStyle ()
  Get the style of the MetaPen. More...
 
virtual int  GetPenWidth ()
  Get the width of the MetaPen. More...
 
virtual Color  GetColor ()
  Get the color of the MetaPen. More...
 
- Public Member Functions inherited from iText.Kernel.Pdf.Canvas.Wmf.MetaObject
  MetaObject ()
  Creates a new MetaObject. More...
 
  MetaObject (int type)
  Creates a MetaObject with a type. More...
 
virtual int  GetObjectType ()
  Get the type of this MetaObject. More...
 

Static Public Attributes

const int  PS_SOLID = 0
 
const int  PS_DASH = 1
 
const int  PS_DOT = 2
 
const int  PS_DASHDOT = 3
 
const int  PS_DASHDOTDOT = 4
 
const int  PS_NULL = 5
 
const int  PS_INSIDEFRAME = 6
 
- Static Public Attributes inherited from iText.Kernel.Pdf.Canvas.Wmf.MetaObject
const int  META_NOT_SUPPORTED = 0
 
const int  META_PEN = 1
 
const int  META_BRUSH = 2
 
const int  META_FONT = 3
 

Detailed Description

A Pen object of the WMF format.

A Pen object of the WMF format. Holds the color, style and width information of the pen.

Constructor & Destructor Documentation

◆ MetaPen()

iText.Kernel.Pdf.Canvas.Wmf.MetaPen.MetaPen ( )
inline

Creates a MetaPen object.

Member Function Documentation

◆ GetColor()

virtual Color iText.Kernel.Pdf.Canvas.Wmf.MetaPen.GetColor ( )
inlinevirtual

Get the color of the MetaPen.

Returns
color of the pen

◆ GetPenWidth()

virtual int iText.Kernel.Pdf.Canvas.Wmf.MetaPen.GetPenWidth ( )
inlinevirtual

Get the width of the MetaPen.

Returns
width of the pen

◆ GetStyle()

virtual int iText.Kernel.Pdf.Canvas.Wmf.MetaPen.GetStyle ( )
inlinevirtual

Get the style of the MetaPen.

Returns
style of the pen

◆ Init()

virtual void iText.Kernel.Pdf.Canvas.Wmf.MetaPen.Init ( InputMeta in )
inlinevirtual

Initializes a MetaPen object.

Parameters
in the InputMeta object that holds the inputstream of the WMF image