Skip to content

Supports CSS alike drawing #138

Closed
Closed

Description

@khongten001

Hi,
Image32 is an amazing library but it is hard to use for writing VCL component. Most of operator when drawing VCL component related to background, border,... only. So, it will be great if there is something like this:

var
  CssStyle: TCssStyle;
begin
  CssStyle.BorderColor := clRed32;
  CssStyle.Background := TBackgroundLinenearGradient.Create(clFrom, clTo);
  // ...
  CssStyle.Draw(Image32, DrawRect);
end;

Thank you

Activity

  1. AngusJohnson commented on Feb 26, 2025

    @AngusJohnson
    Owner

    Thanks for the very interesting suggestion.
    It's certainly something I will consider, but it would be a huge job to do well.

  2. Repository owner locked and limited conversation to collaborators on Apr 16, 2025
  3. converted this issue into a discussion #144 on Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions