Jump to content

Compare Fill Fore color


The Hamma

Recommended Posts

Another thing to note, the color space for RGB is not 0..255, but rather 0..65535. You can convert easily by multiplying each 0..255 value by 257.

As TBE points out, you need to get a handle to your object. The easiest one is FSActLayer. It can get much more complicated if you want your script to work off the active layer, but for most uses H := FSActLayer; will work.

Raymond

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...