Canvas does not have “elements". You can apply CSS to a canvas element, but 
that will not help for anything drawn on the canvas.

If we have “Rect”, “Circle” “Path”, etc. for Canvas, these will have to be 
abstractions of the canvas drawing APIs. This is totally doable (as EaselJS did 
and I believe Lizhi did as well), but any calculations such as minWidth would 
need to be done manually. We can’t rely on CSS for that.

On Jul 26, 2016, at 11:04 PM, Alex Harui <aha...@adobe.com> wrote:

> 
> 
> On 7/26/16, 12:51 PM, "Harbs" <harbs.li...@gmail.com> wrote:
> 
>> No Canvas doe not have this built in.
> 
> I guess I'm having trouble understanding you today.  You said using CSS
> wouldn't work for Canvas elements.  What does that mean?
> 
> -Alex
> 

Reply via email to