Style docs
This commit is contained in:
@@ -77,6 +77,7 @@ ol.style.Text = function(opt_options) {
|
||||
|
||||
|
||||
/**
|
||||
* Get the font name.
|
||||
* @return {string|undefined} Font.
|
||||
* @api
|
||||
*/
|
||||
@@ -86,6 +87,7 @@ ol.style.Text.prototype.getFont = function() {
|
||||
|
||||
|
||||
/**
|
||||
* Get the x-offset for the text.
|
||||
* @return {number} Horizontal text offset.
|
||||
* @api
|
||||
*/
|
||||
@@ -95,6 +97,7 @@ ol.style.Text.prototype.getOffsetX = function() {
|
||||
|
||||
|
||||
/**
|
||||
* Get the y-offset for the text.
|
||||
* @return {number} Vertical text offset.
|
||||
* @api
|
||||
*/
|
||||
@@ -104,6 +107,7 @@ ol.style.Text.prototype.getOffsetY = function() {
|
||||
|
||||
|
||||
/**
|
||||
* Get the fill style for the text.
|
||||
* @return {ol.style.Fill} Fill style.
|
||||
* @api
|
||||
*/
|
||||
@@ -113,6 +117,7 @@ ol.style.Text.prototype.getFill = function() {
|
||||
|
||||
|
||||
/**
|
||||
* Get the text rotation.
|
||||
* @return {number|undefined} Rotation.
|
||||
* @api
|
||||
*/
|
||||
@@ -122,6 +127,7 @@ ol.style.Text.prototype.getRotation = function() {
|
||||
|
||||
|
||||
/**
|
||||
* Get the text scale.
|
||||
* @return {number|undefined} Scale.
|
||||
* @api
|
||||
*/
|
||||
@@ -131,6 +137,7 @@ ol.style.Text.prototype.getScale = function() {
|
||||
|
||||
|
||||
/**
|
||||
* Get the stroke style for the text.
|
||||
* @return {ol.style.Stroke} Stroke style.
|
||||
* @api
|
||||
*/
|
||||
@@ -140,6 +147,7 @@ ol.style.Text.prototype.getStroke = function() {
|
||||
|
||||
|
||||
/**
|
||||
* Get the text to be rendered.
|
||||
* @return {string|undefined} Text.
|
||||
* @api
|
||||
*/
|
||||
@@ -149,6 +157,7 @@ ol.style.Text.prototype.getText = function() {
|
||||
|
||||
|
||||
/**
|
||||
* Get the text alignment.
|
||||
* @return {string|undefined} Text align.
|
||||
* @api
|
||||
*/
|
||||
@@ -158,6 +167,7 @@ ol.style.Text.prototype.getTextAlign = function() {
|
||||
|
||||
|
||||
/**
|
||||
* Get the text baseline.
|
||||
* @return {string|undefined} Text baseline.
|
||||
* @api
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user