Пример #1
0
        public BananaPiece()
        {
            RelativeSizeAxes = Axes.Both;

            InternalChildren = new Drawable[]
            {
                new BananaPulpFormation
                {
                    AccentColour = { BindTarget = AccentColour },
                },
                BorderPiece = new BorderPiece(),
            };
        }
Пример #2
0
        public FruitPiece()
        {
            RelativeSizeAxes = Axes.Both;

            InternalChildren = new Drawable[]
            {
                new FruitPulpFormation
                {
                    AccentColour         = { BindTarget = AccentColour },
                    VisualRepresentation = { BindTarget = VisualRepresentation }
                },
                BorderPiece      = new BorderPiece(),
                HyperBorderPiece = new HyperBorderPiece()
            };
        }