org.pdfclown.documents.contents.objects
Class PaintShading
java.lang.Object
org.pdfclown.documents.contents.objects.ContentObject
org.pdfclown.documents.contents.objects.Operation
org.pdfclown.documents.contents.objects.PaintShading
- All Implemented Interfaces:
- IResourceReference<Shading<?>>
@PDF(value=PDF13)
public final class PaintShading
- extends Operation
- implements IResourceReference<Shading<?>>
'Paint the shape and color shading' operation [PDF:1.6:4.6.3].
- Since:
- 0.0.4
- Version:
- 0.1.1, 11/01/11
- Author:
- Stefano Chizzolini (http://www.stefanochizzolini.it)
Methods inherited from class org.pdfclown.documents.contents.objects.ContentObject |
scan |
Operator
public static final String Operator
- See Also:
- Constant Field Values
PaintShading
public PaintShading(PdfName name)
PaintShading
public PaintShading(List<PdfDirectObject> operands)
getShading
public Shading<?> getShading(IContentContext context)
- Gets the
shading
resource to be painted.
- Parameters:
context
- Content context.
getName
public PdfName getName()
- Description copied from interface:
IResourceReference
- Gets the resource name.
- Specified by:
getName
in interface IResourceReference<Shading<?>>
- See Also:
IResourceReference.getResource(IContentContext)
,
Resources
getResource
public Shading<?> getResource(IContentContext context)
- Description copied from interface:
IResourceReference
- Gets the referenced resource.
Whether a resource name
is available or not, it can be respectively either
shared or private.
- Specified by:
getResource
in interface IResourceReference<Shading<?>>
- Parameters:
context
- Content context.
setName
public void setName(PdfName value)
- Specified by:
setName
in interface IResourceReference<Shading<?>>
- See Also:
IResourceReference.getName()
Project home page
Copyright © 2006-2013 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.