All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.mapsengine.model.LabelStyle Maven / Gradle / Ivy

There is a newer version: v1-rev66-1.21.0
Show newest version
/*
 * Copyright 2010 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/google/apis-client-generator/
 * (build: 2015-11-16 19:10:01 UTC)
 * on 2015-12-05 at 02:54:01 UTC 
 * Modify at your own risk.
 */

package com.google.api.services.mapsengine.model;

/**
 * Text label style.
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Google Maps Engine API. For a detailed explanation * see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class LabelStyle extends com.google.api.client.json.GenericJson { /** * Color of the text. If not provided, default to black. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String color; /** * The column value of the feature to be displayed. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String column; /** * Font style of the label, defaults to 'normal'. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String fontStyle; /** * Font weight of the label, defaults to 'normal'. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String fontWeight; /** * Opacity of the text. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Double opacity; /** * Outline color of the text. * The value may be {@code null}. */ @com.google.api.client.util.Key private Color outline; /** * Font size of the label, in pixels. 8 <= size <= 15. If not provided, a default size will be * provided. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Double size; /** * Color of the text. If not provided, default to black. * @return value or {@code null} for none */ public java.lang.String getColor() { return color; } /** * Color of the text. If not provided, default to black. * @param color color or {@code null} for none */ public LabelStyle setColor(java.lang.String color) { this.color = color; return this; } /** * The column value of the feature to be displayed. * @return value or {@code null} for none */ public java.lang.String getColumn() { return column; } /** * The column value of the feature to be displayed. * @param column column or {@code null} for none */ public LabelStyle setColumn(java.lang.String column) { this.column = column; return this; } /** * Font style of the label, defaults to 'normal'. * @return value or {@code null} for none */ public java.lang.String getFontStyle() { return fontStyle; } /** * Font style of the label, defaults to 'normal'. * @param fontStyle fontStyle or {@code null} for none */ public LabelStyle setFontStyle(java.lang.String fontStyle) { this.fontStyle = fontStyle; return this; } /** * Font weight of the label, defaults to 'normal'. * @return value or {@code null} for none */ public java.lang.String getFontWeight() { return fontWeight; } /** * Font weight of the label, defaults to 'normal'. * @param fontWeight fontWeight or {@code null} for none */ public LabelStyle setFontWeight(java.lang.String fontWeight) { this.fontWeight = fontWeight; return this; } /** * Opacity of the text. * @return value or {@code null} for none */ public java.lang.Double getOpacity() { return opacity; } /** * Opacity of the text. * @param opacity opacity or {@code null} for none */ public LabelStyle setOpacity(java.lang.Double opacity) { this.opacity = opacity; return this; } /** * Outline color of the text. * @return value or {@code null} for none */ public Color getOutline() { return outline; } /** * Outline color of the text. * @param outline outline or {@code null} for none */ public LabelStyle setOutline(Color outline) { this.outline = outline; return this; } /** * Font size of the label, in pixels. 8 <= size <= 15. If not provided, a default size will be * provided. * @return value or {@code null} for none */ public java.lang.Double getSize() { return size; } /** * Font size of the label, in pixels. 8 <= size <= 15. If not provided, a default size will be * provided. * @param size size or {@code null} for none */ public LabelStyle setSize(java.lang.Double size) { this.size = size; return this; } @Override public LabelStyle set(String fieldName, Object value) { return (LabelStyle) super.set(fieldName, value); } @Override public LabelStyle clone() { return (LabelStyle) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy