public class ThumbnailConfigImpl extends java.lang.Object implements ThumbnailConfig
PN_DOCENTER, PN_HEIGHT, PN_WIDTH
Constructor and Description |
---|
ThumbnailConfigImpl(int width,
int height,
boolean doCenter) |
Modifier and Type | Method and Description |
---|---|
boolean |
doCenter()
Returns whether this thumbnail is rendered centered.
|
int |
getHeight()
Retrieves the height in pixels for a thumbnail.
|
int |
getWidth()
Retrieves the width in pixels for a thumbnail.
|
public ThumbnailConfigImpl(int width, int height, boolean doCenter)
public int getWidth()
ThumbnailConfig
getWidth
in interface ThumbnailConfig
public int getHeight()
ThumbnailConfig
getHeight
in interface ThumbnailConfig
public boolean doCenter()
ThumbnailConfig
doCenter
in interface ThumbnailConfig
true
if the thumbnail is rendered centered."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"