I want to copy a part of a Canvas to another place of the same Canvas.
In B4A I use Canvas.DrawBitmap(Canvas.Bitmap, SourceRectange, DestinationRectangle).
In B4J I have two problems:
- DrawImage has no source rectangle to get a part of the source image.
- Canvas has no Image propety, how can I get the image from the Canvas and better a part of it?
The question is related to to this thread.
I want to move the 59 lower rows one row up.
This is done, in B4A, with cvsGraph.DrawBitmap(cvsGraph.Bitmap, rectMoveSource, rectMoveDest).
In B4A I use Canvas.DrawBitmap(Canvas.Bitmap, SourceRectange, DestinationRectangle).
In B4J I have two problems:
- DrawImage has no source rectangle to get a part of the source image.
- Canvas has no Image propety, how can I get the image from the Canvas and better a part of it?
The question is related to to this thread.
I want to move the 59 lower rows one row up.
This is done, in B4A, with cvsGraph.DrawBitmap(cvsGraph.Bitmap, rectMoveSource, rectMoveDest).