AI2 Component  (Version nb184)
com.google.appinventor.components.runtime.util.MapFactory.HasStroke Interface Reference
Inheritance diagram for com.google.appinventor.components.runtime.util.MapFactory.HasStroke:
com.google.appinventor.components.runtime.MapFeatureBase com.google.appinventor.components.runtime.util.MapFactory.MapCircle com.google.appinventor.components.runtime.util.MapFactory.MapLineString com.google.appinventor.components.runtime.util.MapFactory.MapMarker com.google.appinventor.components.runtime.util.MapFactory.MapPolygon com.google.appinventor.components.runtime.util.MapFactory.MapRectangle com.google.appinventor.components.runtime.LineString com.google.appinventor.components.runtime.MapFeatureBaseWithFill com.google.appinventor.components.runtime.Circle com.google.appinventor.components.runtime.LineString com.google.appinventor.components.runtime.Marker com.google.appinventor.components.runtime.Polygon com.google.appinventor.components.runtime.Rectangle com.google.appinventor.components.runtime.Marker com.google.appinventor.components.runtime.PolygonBase com.google.appinventor.components.runtime.Circle com.google.appinventor.components.runtime.Polygon com.google.appinventor.components.runtime.Rectangle

Public Member Functions

void StrokeColor (int argb)
 
int StrokeColor ()
 
void StrokeOpacity (float opacity)
 
float StrokeOpacity ()
 
void StrokeWidth (int width)
 
int StrokeWidth ()
 

Detailed Description

HasStroke is a marker interface for features that draw with a stroke.

Author
ewpat.nosp@m.ton@.nosp@m.mit.e.nosp@m.du (Evan W. Patton)

Definition at line 919 of file MapFactory.java.

Member Function Documentation

◆ StrokeColor() [1/2]

int com.google.appinventor.components.runtime.util.MapFactory.HasStroke.StrokeColor ( )

Gets the color used to paint the outline of the feature

Returns
the outline paint color

Implemented in com.google.appinventor.components.runtime.MapFeatureBase.

◆ StrokeColor() [2/2]

void com.google.appinventor.components.runtime.util.MapFactory.HasStroke.StrokeColor ( int  argb)

Sets the color used to paint the outline of the feature

Parameters
argbthe outline paint color

Implemented in com.google.appinventor.components.runtime.Marker, and com.google.appinventor.components.runtime.MapFeatureBase.

◆ StrokeOpacity() [1/2]

float com.google.appinventor.components.runtime.util.MapFactory.HasStroke.StrokeOpacity ( )

Gets the opacity of the outline of the feature

Returns
the stroke opacity

Implemented in com.google.appinventor.components.runtime.MapFeatureBase.

◆ StrokeOpacity() [2/2]

void com.google.appinventor.components.runtime.util.MapFactory.HasStroke.StrokeOpacity ( float  opacity)

Sets the opacity of the outline of the feature

Parameters
opacitythe stroke opacity

Implemented in com.google.appinventor.components.runtime.MapFeatureBase.

◆ StrokeWidth() [1/2]

int com.google.appinventor.components.runtime.util.MapFactory.HasStroke.StrokeWidth ( )

Gets the width of the outline of the feature

Returns
the outline width

Implemented in com.google.appinventor.components.runtime.MapFeatureBase.

◆ StrokeWidth() [2/2]

void com.google.appinventor.components.runtime.util.MapFactory.HasStroke.StrokeWidth ( int  width)

Sets the width of the outline of the feature

Parameters
widththe outline width

Implemented in com.google.appinventor.components.runtime.LineString, and com.google.appinventor.components.runtime.MapFeatureBase.


The documentation for this interface was generated from the following file: