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.

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.