Esempio n. 1
0
        public Polygon(Color vertexColor, Color sideColor)
        {
            _defaultVertexColor = vertexColor;
            _defaultSideColor   = sideColor;

            _vertexManager = new VertexManager();
            _sideColors    = new List <Color>();

            _filler = null;

            _inclusionChecker = new PolygonInclusionChecker(this);
        }
Esempio n. 2
0
 public override void SetFilling(FillingInfo fillingInfo, LightManager lightManager)
 {
     _filler = new PolygonFiller(fillingInfo, lightManager);
 }
Esempio n. 3
0
 public override void DeleteFilling()
 {
     _filler = null;
 }