Пример #1
0
 public ShadingColor(PdfShadingPattern shadingPattern) : base(TYPE_SHADING, .5f, .5f, .5f)
 {
     this.shadingPattern = shadingPattern;
 }
Пример #2
0
 internal void AddSimpleShadingPattern(PdfShadingPattern shading)
 {
     if (!documentShadingPatterns.ContainsKey(shading)) {
         shading.Name = patternNumber;
         ++patternNumber;
         documentShadingPatterns[shading] = null;
         AddSimpleShading(shading.Shading);
     }
 }
Пример #3
0
 public ShadingColor(PdfShadingPattern shadingPattern)
     : base(TYPE_SHADING, .5f, .5f, .5f)
 {
     this.shadingPattern = shadingPattern;
 }