HERE Android SDK Developer's Guide

Margin

The class Margin is a member of com.here.android.mpa.venues3d .

Class Summary

public class Margin

extends java.lang.Object

This class represents margins in screen pixels.

[For complete information, see the section Class Details]

Constructor Summary

Table 1. Constructors in Margin
Constructors

Margin (int left, int top, int right, int bottom)

This method is a constructor.

Method Summary

Table 2. Methods in Margin
Methods

public int getBottom ()

This method retrieves the bottom margin.

public int getLeft ()

This method retrieves the left margin.

public int getRight ()

This method retrieves the right margin.

public int getTop ()

This method retrieves the top margin.

Class Details

This class represents margins in screen pixels.

Constructor Details

Margin (int left, int top, int right, int bottom)

This method is a constructor.

Parameters:

  • left

    A value indicating the left margin.

  • top

    A value indicating the top margin.

  • right

    A value indicating the right margin.

  • bottom

    A value indicating the bottom margin.

Method Details

public int getBottom ()

This method retrieves the bottom margin.

Returns:

A value indicating the bottom margin in screen pixels.

public int getLeft ()

This method retrieves the left margin.

Returns:

A value indicating the left margin in screen pixels.

public int getRight ()

This method retrieves the right margin.

Returns:

A value indicating the right margin in screen pixels.

public int getTop ()

This method retrieves the top margin.

Returns:

A value indicating the top margin in screen pixels.