B
- Must be TLspViewDisplacementStyle
public static class TLspViewDisplacementStyle.Builder<B extends TLspViewDisplacementStyle.Builder<B>> extends ALspStyle.Builder<B>
TLspViewDisplacementStyle
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
B |
all(ALspStyle aStyle)
Copies all properties from the given style.
|
TLspViewDisplacementStyle |
build()
Constructs a displacement style with the set parameters.
|
B |
viewDisplacement(int aX,
int aY)
Specifies the maximum allowed displacement in view coordinates (pixels).
|
equals, hashCode
public B viewDisplacement(int aX, int aY)
aX
- the maximum allowed horizontal displacement in pixelsaY
- the maximum allowed vertical displacement in pixelspublic B all(ALspStyle aStyle)
all
in class ALspStyle.Builder<B extends TLspViewDisplacementStyle.Builder<B>>
aStyle
- the style to copythis
public TLspViewDisplacementStyle build()
build
in class ALspStyle.Builder<B extends TLspViewDisplacementStyle.Builder<B>>