AI2 Component  (Version nb184)
com.google.appinventor.components.runtime.util.MapFactory.HasFill Interface Reference
Inheritance diagram for com.google.appinventor.components.runtime.util.MapFactory.HasFill:
com.google.appinventor.components.runtime.MapFeatureBaseWithFill com.google.appinventor.components.runtime.util.MapFactory.MapCircle 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.Marker com.google.appinventor.components.runtime.PolygonBase com.google.appinventor.components.runtime.Circle com.google.appinventor.components.runtime.Marker com.google.appinventor.components.runtime.Polygon com.google.appinventor.components.runtime.Rectangle com.google.appinventor.components.runtime.Circle com.google.appinventor.components.runtime.Polygon com.google.appinventor.components.runtime.Rectangle

Public Member Functions

void FillColor (int argb)
 
int FillColor ()
 
void FillOpacity (float opacity)
 
float FillOpacity ()
 

Detailed Description

HasFill is a marker interface for features that draw with a fill.

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

Definition at line 888 of file MapFactory.java.

Member Function Documentation

◆ FillColor() [1/2]

int com.google.appinventor.components.runtime.util.MapFactory.HasFill.FillColor ( )

Gets the color used to paint the interior of the feature

Returns
the fill paint color

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

◆ FillColor() [2/2]

void com.google.appinventor.components.runtime.util.MapFactory.HasFill.FillColor ( int  argb)

Sets the color used to paint the interior of the feature.

Parameters
argbthe fill paint color

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

◆ FillOpacity() [1/2]

float com.google.appinventor.components.runtime.util.MapFactory.HasFill.FillOpacity ( )

Gets the opacity of the interior of the feature

Returns
the fill opacity

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

◆ FillOpacity() [2/2]

void com.google.appinventor.components.runtime.util.MapFactory.HasFill.FillOpacity ( float  opacity)

Sets the opacity of the interior of the feature

Parameters
opacitythe fill opacity

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


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