Computer Science, asked by aravind4430, 7 months ago

Which of the following fill option enables to set the Offset X and Offset Y

Answers

Answered by msjayasuriya4
0

Answer:

IS API for JavaScript 3.33

Hide Table of Contents

API Reference Overview

Set up a development environment

Preferred Argument Aliases

esri

esri/arcadeProfiles

esri/arcgis

esri/dijit

esri/dijit/analysis

esri/dijit/editing

esri/dijit/geoenrichment

esri/dijit/geoenrichment/ReportPlayer

esri/dijit/util

esri/geometry

esri/layer/pixelFilters

esri/layers

esri/plugins

esri/process

esri/renderers

esri/styles

esri/support

esri/symbols

CartographicLineSymbol

FillSymbol

Font

jsonUtils

LineSymbol

MarkerSymbol

PictureFillSymbol

PictureMarkerSymbol

SimpleFillSymbol

SimpleLineSymbol

SimpleMarkerSymbol

Symbol

TextSymbol

esri/tasks

esri/tasks/datareviewer

esri/tasks/geoenrichment

esri/tasks/locationproviders

esri/toolbars

esri/virtualearth

esri/workers

Print this page

Class: SimpleMarkerSymbol

[ AMD Module Require | Legacy Module Require ]Constructors | Constants | Properties | Methods

require(["esri/symbols/SimpleMarkerSymbol"], function(SimpleMarkerSymbol) { /* code goes here */ });

Description

(Added at v1.0)

Marker symbols are used to draw points and multipoints on the graphics layer. SimpleMarkerSymbol is used to display points as a simple shape, for example, a circle. In addition, the symbol can have an optional outline, which is defined by a line symbol.

The color property does not apply to marker symbols defined with the cross or x style. Since these styles are wholly comprised of outlines, you must set the color of symbols with those styles via the setOutline() method.

Explore the SimpleMarkerSymbol in the ArcGIS Symbol Playground. This is a place to explore and learn how to work with various properties and methods before implementing it into custom code. Try out new features, customize them, and copy the generated code into your own application. This sample provides a starting point so as to allow use of these features as quickly as possible.

Samples

Search for samples that use this class.

Class hierarchy

esri/symbols/Symbol

|_esri/symbols/MarkerSymbol

|_esri/symbols/SimpleMarkerSymbol

Constructors

Name Summary

new SimpleMarkerSymbol() Creates a new empty SimpleMarkerSymbol object.

new SimpleMarkerSymbol(style, size, outline, color) Creates a new SimpleMarkerSymbol object with parameters.

new SimpleMarkerSymbol(json) Creates a new SimpleMarkerSymbol object using a JSON object.

Constants

Name Description

STYLE_CIRCLE The marker is a circle.

STYLE_CROSS The marker is a cross.

STYLE_DIAMOND The marker is a diamond.

STYLE_PATH The marker is a shape defined using an SVG Path string. See also the setPath method.

STYLE_SQUARE The marker is a square.

STYLE_TRIANGLE The marker is a triangle.

STYLE_X The marker is a diagonal cross.

Properties

Name Type Summary

angle Number The angle of the marker.

color Color Symbol color.

outline SimpleLineSymbol Outline of the marker.

size Number Size of the marker in pixels.

style String The marker style.

type String The type of symbol.

xoffset Number The offset on the x-axis in pixels.

yoffset Number The offset on the y-axis in pixels.

Methods

Name Return type Summary

setAngle(angle) MarkerSymbol Rotates the symbol clockwise around its center by the specified angle.

setColor(color) Symbol Sets the symbol color.

setOffset(x, y) MarkerSymbol Sets the x and y offset of a marker in screen units.

setOutline(outline) SimpleMarkerSymbol Sets the outline of the marker symbol.

setPath(path) SimpleMarkerSymbol Sets the marker shape to the given path string and switches the marker style to STYLE_PATH.

setSize(size) MarkerSymbol Sets the size of a marker in pixels.

setStyle(style) SimpleMarkerSymbol Sets the marker symbol style.

toJson() Object Converts object to its ArcGIS Server JSON representation.

Constructor Details

new SimpleMarkerSymbol()

Creates a new empty SimpleMarkerSymbol object.

Sample:

require([

"esri/symbols/SimpleMarkerSymbol", ...

], function(SimpleMarkerSymbol, ... ) {

var sms = new SimpleMarkerSymbol();

...

});

new SimpleMarkerSymbol(style, size, outline, color)

Creates a new SimpleMarkerSymbol object with parameters.

Parameters:

<String> style Required See Constants table for values.

<Number> size Required Size of the marker in pixels.

<SimpleLineSymbol> outline Required See

Answered by keyboardavro
1

Answer:

option c

Explanation:

Similar questions