1 50 51 package com.lowagie.text.pdf; 52 53 57 class ColorDetails { 58 59 61 PdfIndirectReference indirectReference; 62 64 PdfName colorName; 65 67 PdfSpotColor spotcolor; 68 69 74 ColorDetails(PdfName colorName, PdfIndirectReference indirectReference, PdfSpotColor scolor) { 75 this.colorName = colorName; 76 this.indirectReference = indirectReference; 77 this.spotcolor = scolor; 78 } 79 80 83 PdfIndirectReference getIndirectReference() { 84 return indirectReference; 85 } 86 87 90 PdfName getColorName() { 91 return colorName; 92 } 93 94 97 PdfObject getSpotColor(PdfWriter writer) { 98 return spotcolor.getSpotObject(writer); 99 } 100 } 101 | Popular Tags |