|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pdfclown.documents.contents.objects.ContentObject org.pdfclown.documents.contents.objects.Operation org.pdfclown.documents.contents.objects.SetFillColorSpace
@PDF(value=PDF11) public final class SetFillColorSpace
'Set the current color space to use for nonstroking operations' operation [PDF:1.6:4.5.7].
Field Summary | |
---|---|
static String |
Operator
|
Fields inherited from class org.pdfclown.documents.contents.objects.Operation |
---|
operands, operator |
Constructor Summary | |
---|---|
SetFillColorSpace(List<PdfDirectObject> operands)
|
|
SetFillColorSpace(PdfName name)
|
Method Summary | |
---|---|
ColorSpace<?> |
getColorSpace(IContentContext context)
Gets the color space resource to be set. |
PdfName |
getName()
Gets the resource name. |
ColorSpace<?> |
getResource(IContentContext context)
Gets the referenced resource. |
void |
scan(ContentScanner.GraphicsState state)
Applies this object to the specified graphics context, updating the specified graphics state. |
void |
setName(PdfName value)
|
Methods inherited from class org.pdfclown.documents.contents.objects.Operation |
---|
get, getOperands, getOperator, toString, writeTo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String Operator
Constructor Detail |
---|
public SetFillColorSpace(PdfName name)
public SetFillColorSpace(List<PdfDirectObject> operands)
Method Detail |
---|
public ColorSpace<?> getColorSpace(IContentContext context)
color space
resource to be set.
context
- Content context.public void scan(ContentScanner.GraphicsState state)
ContentObject
scan
in class ContentObject
state
- Graphics state.public PdfName getName()
IResourceReference
getName
in interface IResourceReference<ColorSpace<?>>
IResourceReference.getResource(IContentContext)
,
Resources
public ColorSpace<?> getResource(IContentContext context)
IResourceReference
Whether a resource name
is available or not, it can be respectively either
shared or private.
getResource
in interface IResourceReference<ColorSpace<?>>
context
- Content context.public void setName(PdfName value)
setName
in interface IResourceReference<ColorSpace<?>>
IResourceReference.getName()
|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |