@ForUseOnly public interface MPPViewport
builder
.MPPViewportAgent
.MPPViewport.Builder
,
MPPViewportAgent
,
MPPViewports
Modifier and Type | Interface and Description |
---|---|
static interface |
MPPViewport.Builder
Builder to configure and create a
MPPViewport . |
static class |
MPPViewport.IconType
A viewport icon type used to symbolize the viewport.
|
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
Get the viewport height in pixels.
|
MPPViewport.IconType |
getIconType()
Get the viewport icon type.
|
int |
getScaling()
Get the percentage-based viewport scaling.
|
TemplateSet |
getTemplateSet()
Get the
TemplateSet configured for this viewport. |
int |
getWidth()
Get the viewport width in pixels.
|
void |
setHeight(int height)
Set the viewport height in pixels.
|
void |
setIconType(MPPViewport.IconType icon)
Set the icon type for this viewport.
|
void |
setScaling(int percentage)
Set the percentage-based viewport scaling.
|
void |
setTemplateSet(TemplateSet templateSet)
Set the
TemplateSet to be used for this viewport. |
void |
setWidth(int width)
Set the viewport width in pixels.
|
void setIconType(@Nullable MPPViewport.IconType icon)
icon
- the icon type to useMPPViewport.IconType
@Nullable MPPViewport.IconType getIconType()
int getWidth()
void setWidth(int width)
width
- the width in pixelsIllegalArgumentException
- if width is < 1int getHeight()
void setHeight(int height)
height
- the height in pixelsIllegalArgumentException
- if height is < 1int getScaling()
void setScaling(int percentage)
percentage
- the scaling as percentage@Nullable TemplateSet getTemplateSet()
TemplateSet
configured for this viewport.TemplateSet
for this viewport, or null
for default TemplateSet
void setTemplateSet(@Nullable TemplateSet templateSet)
TemplateSet
to be used for this viewport.templateSet
- the TemplateSet
to use, or null for default TemplateSet
Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210