android-paint Questions

2

Solved

Is android.graphics.Paint memory heavy object? Which one is more efficient, to pass paint object refrence to classes that need to draw on canvas and set paint properties such as color, style, etc. ...
Joleenjolene asked 27/12, 2016 at 13:10

1

I'm creating a custom View class that displays text using a StaticLayout with a custom typeface loaded from a .ttf asset file. The basic look of the typeface is a serif font and the TrueType proper...
Anderer asked 12/8, 2016 at 6:54

1

Solved

I am trying to achieve an effect similar to this one: What I am doing now: public MaskedTextView(Context context, AttributeSet attrs) { super(context, attrs); p = new Paint(Paint.ANTI_ALIAS_...

1

I want to implement a canvas drawing application with custom brush & undo/redo operation. First of all my code works perfectly without using the custom brush (including the undo/redo operation)...
Inculpable asked 17/8, 2016 at 11:18
1

© 2022 - 2024 — McMap. All rights reserved.