Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
getting color for rectangle shape
Print
Pages: [
1
]
Author
Topic: getting color for rectangle shape (Read 1776 times)
0 Members and 1 Guest are viewing this topic.
Aiden_Cohen
Newbie
Posts: 9
getting color for rectangle shape
«
on:
April 26, 2018, 12:21:42 am »
I would like to access the color of a rectangle shape I'm drawing but I don't see anything in the api docs that does that, so how would I do this.
Logged
AlejandroCoria
Jr. Member
Posts: 68
Re: getting color for rectangle shape
«
Reply #1 on:
April 26, 2018, 01:44:03 am »
sf::Shape::getFillColor
and
sf::Shape::getOutlineColor
.
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
getting color for rectangle shape
anything