onDraw fill shape create with canvas.drawLine
i draw 4 lines (canvas.drawLine) in order to draw a rectangle. Is there any possibility to fill the area of the rectangle? (I know that android have a rectDraw. Mine is only curiosity) thanks in advance. ok.. I ve also a path created a path segment. Following the code.. Please can u explain how fill the internal area? `Paint paint = new Paint(Paint.ANTI_ALIAS_FLAG); paint.setStrokeWidth(2); paint.setColor(android.graphics.Color.RED); paint.setStyle(Paint.Style.FILL_AND_STROKE); paint.setAntiAlias(true); path.reset(); path.setFillType(Path.FillType.INVERSE_EVEN_ODD); path.moveTo(mPin[0].getX()