public static final class
StreetViewPanoramaOrientation.Builder
extends Object
Builds Street View panorama orientations.
Field Summary
public float | bearing | |
public float | tilt |
Public Constructor Summary
Builder()
Creates an empty builder.
|
|
Builder(StreetViewPanoramaOrientation previous)
|
Public Method Summary
StreetViewPanoramaOrientation.Builder |
bearing(float bearing)
Sets the direction of the orientation, in degrees clockwise from north.
|
StreetViewPanoramaOrientation |
build()
Builds a
StreetViewPanoramaOrientation . |
StreetViewPanoramaOrientation.Builder |
tilt(float tilt)
Sets the angle, in degrees, of the orientation This value is restricted to being between -90
(directly down) and 90 (directly up).
|
Inherited Method Summary
Fields
public float bearing
public float tilt
Public Constructors
public Builder ()
Creates an empty builder.
Public Methods
public StreetViewPanoramaOrientation.Builder bearing (float bearing)
Sets the direction of the orientation, in degrees clockwise from north.
Parameters
bearing |
---|
public StreetViewPanoramaOrientation.Builder tilt (float tilt)
Sets the angle, in degrees, of the orientation This value is restricted to being between -90 (directly down) and 90 (directly up).
Parameters
tilt |
---|