Bridges-Python 3.5.0-dev1
Bridges(Python API)
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | Properties | List of all members
bridges.data_src_dependent.country.Country Class Reference

his object stores a Country and links to information More...

Public Member Functions

 __init__ (self, str country)
 Constructor for a specific state.
 
 __init__ (self, str name, str alpha2, str alpha3, int numeric3)
 Constructor for a specific state.
 

Protected Attributes

 _name
 
 _alpha2_id
 
 _alpha3_id
 
 _numeric3_id
 
 _stroke_width
 
 _stroke_color
 
 _fill_color
 

Properties

 name = property
 
 alpha2_id = property
 
 alpha3_id = property
 
 numeric3_id = property
 
 stroke_color = property
 
 stroke_width = property
 
 fill_color = property
 

Detailed Description

his object stores a Country and links to information

This object is used alongside with the WorldMap object. Each country has a stroke color and fill color.

See tutorial at https://bridgesuncc.github.io/tutorials/Map.html

Author
Kalpathi Subramanian
Date
Last modified June 7, 2025

Constructor & Destructor Documentation

◆ __init__() [1/2]

bridges.data_src_dependent.country.Country.__init__ (   self,
str  country 
)

Constructor for a specific state.

   @param state sets default values for the state

◆ __init__() [2/2]

bridges.data_src_dependent.country.Country.__init__ (   self,
str  name,
str  alpha2,
str  alpha3,
int  numeric3 
)

Constructor for a specific state.

   @param sets provided values for the country

Member Data Documentation

◆ _alpha2_id

bridges.data_src_dependent.country.Country._alpha2_id
protected

◆ _alpha3_id

bridges.data_src_dependent.country.Country._alpha3_id
protected

◆ _fill_color

bridges.data_src_dependent.country.Country._fill_color
protected

◆ _name

bridges.data_src_dependent.country.Country._name
protected

◆ _numeric3_id

bridges.data_src_dependent.country.Country._numeric3_id
protected

◆ _stroke_color

bridges.data_src_dependent.country.Country._stroke_color
protected

◆ _stroke_width

bridges.data_src_dependent.country.Country._stroke_width
protected

Property Documentation

◆ alpha2_id

bridges.data_src_dependent.country.Country.alpha2_id = property
static

◆ alpha3_id

bridges.data_src_dependent.country.Country.alpha3_id = property
static

◆ fill_color

bridges.data_src_dependent.country.Country.fill_color = property
static

◆ name

bridges.data_src_dependent.country.Country.name = property
static

◆ numeric3_id

bridges.data_src_dependent.country.Country.numeric3_id = property
static

◆ stroke_color

bridges.data_src_dependent.country.Country.stroke_color = property
static

◆ stroke_width

bridges.data_src_dependent.country.Country.stroke_width = property
static

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