com.vaadin.flow.component.map.configuration.style.Stroke Maven / Gradle / Ivy
package com.vaadin.flow.component.map.configuration.style;
/*
* #%L
* Vaadin Map
* %%
* Copyright (C) 2022 - 2022 Vaadin Ltd
* %%
* This program is available under Commercial Vaadin Developer License
* 4.0 (CVDLv4).
*
* See the file license.html distributed with this software for more
* information about licensing.
*
* For the full License, see .
* #L%
*/
import com.vaadin.flow.component.map.configuration.AbstractConfigurationObject;
import com.vaadin.flow.component.map.configuration.Constants;
public class Stroke extends AbstractConfigurationObject {
private String color;
private float width;
@Override
public String getType() {
return Constants.OL_STYLE_STROKE;
}
public String getColor() {
return color;
}
public void setColor(String color) {
this.color = color;
markAsDirty();
}
public float getWidth() {
return width;
}
public void setWidth(float width) {
this.width = width;
markAsDirty();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy