Example #1
0
 public bool Equals(PdfColor other)
 {
     if (other == null)
     {
         return(false);
     }
     return(this.m_Name.EqualsOrdSenseCase(other.m_Name) &&
            this.m_R == other.m_R &&
            this.m_G == other.m_G &&
            this.m_B == other.m_B);
 }
Example #2
0
 public PdfDrawStyle(float strokeThickness, PdfColor strokeColor)
     : this(strokeThickness, strokeColor, PdfLineType.Normal)
 {
 }
Example #3
0
 public PdfDrawStyle(float strokeThickness, PdfColor strokeColor, PdfLineType strokeType)
 {
     StrokeThickness = strokeThickness;
     StrokeColor     = strokeColor;
     StrokeType      = strokeType;
 }
Example #4
0
 public PdfDrawStyle(PdfColor fillColor)
 {
     FillColor = fillColor;
 }