0 Replies Latest reply on Jul 13, 2016 3:47 AM by викторб82329482

    Necessary to make the field in the form of bricks

    викторб82329482

      Necessary to make the field in the form of bricks:

      ________

      |__|__|__|_

      _|__|__|__|

       

      I wrote to the skin, which draws a brick:

      <s:Group id="brick">

          <s:Rect width="40" height="20">

            <s:fill>

              <s:SolidColor color="{hostComponent.colorBrick}" />

            </s:fill>

          </s:Rect>

          <s:Rect width="40" height="20">

            <s:stroke>

              <s:SolidColorStroke color="#000000" />

            </s:stroke>

          </s:Rect>   

        </s:Group>

       

      But I do not know how to do so, to fill the entire area of these objects.

      Plese, help me