Please help with Color info

Simple question, I hope.
In the string:
private Color purple = new Color(0.5f, 0.0f, 0.5f);
Where do I get the information on this in the docs? I want to know what the "f" stands for in the arguments to get a good understanding of this code. I searched through the color docs and could not find what I need to know. Can't find a reference to this. I thought I might not be looking in the correct area.
Thanks, .......daljaxon

f stands for float. If you create a number literal 0.5, it defaults to be a double. You put a f (or F works too, I think) after it to indicate you mean it to be a float. The same thing happens for int/long. 2 is int 2, 2L is long 2. It's also similar, although probably more efficient, to this: (float)0.5 or (long)2. It's just a function of the language, nothing to do with the Color class or any other class.

Similar Messages

  • Please help with routing info

    Hello, and thanks in advance for any help you can provide to my situation. I am looking to find the most stable and efficient way to route the following studio equipment. I am running Logic Pro 7.1.1 on a Mac dual 2.0 G5 (not intel), just got a MOTU 2408 mk3 as the PCI interface. I also just purchased a Mackie Onyx 800 R (8 pre-amps), as well as already having a Mackie 400 F (4 more pres, as well as being able to insert 4 channels of my ART Pro VLA outboard compression on the first 4 channels, before conversion into the computer, 'to tape' if you will). I don't need the 400 F's firewire or monitoring features anymore, as the MOTU 2408 mk 3 comes with a CueMix monitoring feature. Really I would just like to use the 4 pres with inserts.
    I have 2 questions, one about audio routing and the other regarding clock source and syncing these devices in the best way. In terms of audio routing, the available digital outs on the 800 R are either ADAT or the DB25 ->AES/EBU or SPDIF connector. The 400 F unit adds another S/PDIF in/out (2 channels). The available digital inputs of the MOTU 2408 are 3 banks of 8 channels of ADAT lightpipe (up to 96kHz via S/MUX), 3 banks of TDIF via DB25 connectors, one bank of S/PDIF (only bank C), and one bank of 8 analog inputs via 1/4" balanced connections. These banks are interchangeable, except the S/PDIF only allowed on bank C. The 400 F provides an additional 8 analog inputs/outputs via 1/4" balanced.
    Audio routing, is this right? To run the 800 R ADAT outs via lightpipe into one bank of OPTICAL of the 2408, say at 48k (so all 8 channels are sent with one cable, rather than splitting higher resolutions), then run channels 1-2 out of the 400 F via S/PDIF into the S/PDIF bank C in the 2408, and then channels 3-4 of the 400 F analog into the analog bank of 2408? I realize I would be 'double converting' these last 2 channels, first A/D on the Mackie and then A/D again on the MOTU. Any correction or insight is highly appreciated with audio routing.
    Sync Issues:
    The 2408 mk3 provides many sync options, including WORD CLOCK OUT/IN. The Mackie 400 F also has WORD OUT/IN. The 800 R has WORD IN and a termination button. I know I probably need to eventually buy a Big Ben, but is it worth it to use Word Clock with the devices I have now? And if so, would the correct order be 2408 (master, set to 'Word Clock out' in the clock options of the audio control panel) -> into 400 F (set to external WC) -> into 800 R (set to external WC, then terminated)? Or does the lightpipe and S/PDIF take care of sync on each bank without the need for a master Word Clock. What would the setting be for the 2408 in any case?
    Again, thanks so much for any help with this, I really appreciate it. This is my first post after much reading of this forum.
    Dual 2.0 G5   Mac OS X (10.4)   3 gigs RAM, Logic Pro 7.1.1

    f stands for float. If you create a number literal 0.5, it defaults to be a double. You put a f (or F works too, I think) after it to indicate you mean it to be a float. The same thing happens for int/long. 2 is int 2, 2L is long 2. It's also similar, although probably more efficient, to this: (float)0.5 or (long)2. It's just a function of the language, nothing to do with the Color class or any other class.

  • Please help with updated info how to Move iTunes 10.5.2 to a new MacBook Pro

    With Christmas fast approaching, and new MAC computers being left under the tree, I would find it helpful for an update as to how best to move my son's iTunes library from my iMac (late 2011 version with Lion) which he is sharing to his new MacBook Pro (Early 2011 with Lion upgrade) . There is a lot of old information floating around on how to do this with prior versions of iTunes, but with iCloud and Apps now in the cloud I would like someone knowledgeable to update me and the community with the best way to do this for the latest versions of iTunes running on Lion. He also has his iPhone 4 synched with his account on my iMac and would like to deauthorize his iTunes on my iMac and have him sync on his new computer as well.   I know it is probably hidden among the forums somewhere, but with a lot of people upgrading to new computers, it would be helpful for a refresher on this thread. Thanks!

    Hi,
    See Here for...
    iTunes: How to move your music to a new computer
    See here for Authorise...
    Open iTunes
    From the Store menu, choose Authorize This Computer. (In earlier versions of iTunes, access this option from the Advanced menu).
    When prompted, enter your Apple ID and password, then click Authorize.
    From Here
    About authorization and deauthorization
    Deauthorise...
    Open itunes on the computer you want to deactivate. Make sure you are logged in.  Under the "Store" menu, pull down top "deathorize this computer"

  • Please help with any info

    I'm looking to buy this Toshiba 32 inch hdtv, TOS-32SL415UBX |, but I can't find any info on it what so ever. Does anyone have this model? What year is it? How is the t.v? Any info provided will be greatly appreciated. Thank You.

        ocbrandis,
    Oh no! I'm sorry to hear you no longer remember your password or My Verizon information. It's important to get it back. What device model do you have? The phone number can be found in device information. If you don't recall or cannot find device information, please send me a direct message.
    AdaS_VZW
    Follow us on Twitter at @VZWSupport 

  • Please help with color transform issue!

    Hi,
    How can I change the tint of my movieclip "mc_clip" from
    #000000 to #990000 in 15 frames by scripting it?...in the same time
    change the alpha value of the clip from 85% to 0%.
    thank you in advance,
    Attila

    the code below the dotted line will add a new method to the
    movieclip class. that method allows you to fade any movieclip from
    color rgb1 and alpha a1 to color rgb2 and alpha a2 in speed seconds
    using the number of steps specified in the last parameter:

  • HT5824 I switched over from an iPhone to a Samsung Galaxy S3 & I haven't been able to receive any text messages from iPhones. Please help with turning my iMessage completely off..

    I switched over from an iPhone to a Samsung Galaxy S3 & I haven't been able to receive any text messages from iPhones. I have no problem sending the text messages but I'm not receivng any from iPhones at all. It has been about a week now that I'm having this problem. I've already tried fixing it myself and I also went into the sprint store, they tried everything as well. My last option was to contact Apple directly. Please help with turning my iMessage completely off so that I can receive my texts.

    If you registered your iPhone with Apple using a support profile, try going to https://supportprofile.apple.com/MySupportProfile.do and unregistering it.  Also, try changing the password associated with the Apple ID that you were using for iMessage.

  • I need help with color pallette in iPhoto 11. I have created a book and would like to use a different color background than those given in "background." I have found the color palettes but can't seem to incorporate them into my backgrounds palette.

    I need help with color pallette in iPhoto 11. I have created a book and would like to use a different color background than those given in "background." I have found the color palettes but can't seem to incorporate them into my backgrounds palette.

    That is not a feature of iPhoto - suggest to Apple - iPhoto Menu ==> provide iPhoto feedback.
    Additionally I have no idea what you are saying here
    I have found the color palettes but can't seem to incorporate them into my backgrounds palette.
    And it always helps for you to dientify the version of iPhoto that you are using
    LN

  • How can I sync my iPhone on a different computer without erasing my applications? My iPhone was earlier synced with a PC which I don't use anymore. Please help with proper steps, if any.

    How can I sync my iPhone on a different computer without erasing my applications? My iPhone was earlier synced with a PC which I don't use anymore.
    On the new computer, I am getting a message that my all purchases would be deleted if I sync it with new iTunes library.
    Please help with proper steps, if any.

    Also see... these 2 Links...
    Recovering your iTunes library from your iPod or iOS device
    https://discussions.apple.com/docs/DOC-3991
    Syncing to a New Computer...
    https://discussions.apple.com/docs/DOC-3141

  • Please help with "You can't open the application NovamediaDiskSupressor because PowerPC applications are no longer supported." I have seen other responses on this but am not a techie and would not know how to start with that solution.

    Please help with the message I am receving on startup ""You can't open the application NovamediaDiskSupressor because PowerPC applications are no longer supported."
    I have read some of the replies in the Apple Support Communities, but as I am no techie, I would have no idea how I would implement that solution.
    Please help with what I need to type, how, where, etc.
    Many thanks
    AppleSueIn HunterCreek

    I am afraid there is no solution.
    PowerPC refers to the processing chip used by Apple before they transferred to Intel chips. They are very different, and applications written only for PPC Macs cannot work on a Mac running Lion.
    You could contact the developers to see if they have an updated version in the pipeline.

  • Hi, please help with the installation of Lightroom 4, I bought a new Mac (Apple) and I want to install a software that I have on the album cd. My new computer does not have the drives. Can I download software from Adobe? Is my license number just to be ab

    Hi, please help with the installation of Lightroom 4, I bought a new Mac (Apple) and I want to install a software that I have on the album cd. My new computer does not have the drives. Can I download software from Adobe? Is my license number just to be able to download the srtony adobe.

    Adobe - Lightroom : For Macintosh
    Hal

  • [ETL]Could you please help with a problem accessing UML stereotype attributes ?

    Hi all,
    Could you please help with a problem accessing UML stereotype attributes and their values ?
    Here is the description :
    -I created a UML model with Papyrus tool and I applied MARTE profile to this UML model.
    -Then, I applied <<PaStep>> stereotype to an AcceptEventAction ( which is one of the element that I created in this model ), and set the extOpDemand property of the stereotype to 2.7 with Papyrus.
    -Now In the ETL file, I can find the stereotype property of extOpDemand as follows :
    s.attribute.selectOne(a|a.name="extOpDemand") , where s is a variable of type Stereotype.
    -However I can't access the value 2.7 of the extOpDemand attribute of the <<PaStep>> Stereotype. How do I do that ?
    Please help
    Thank you

    Hi Dimitris,
    Thank you , a minimal example is provided now.
    Version of the Epsilon that I am using is : ( Epsilon Core 1.2.0.201408251031 org.eclipse.epsilon.core.feature.feature.group Eclipse.org)
    Instructions for reproducing the problem :
    1-Run the uml2etl.etl transformation with the supplied launch configuration.
    2-Open lqn.model.
    There are two folders inside MinimalExample folder, the one which is called MinimalExample has 4 files, model.uml , lqn.model, uml2lqn.etl and MinimalExampleTransformation.launch.
    The other folder which is LQN has four files. (.project),LQN.emf,LQN.ecore and untitled.model which is an example model conforming to the LQN metamodel to see how the model looks like.
    Thank you
    Mana

  • Want a complete migration guide to upgrade 11.1.0.7 to 11.2.0.3 database using DBUA..We are implementing R12.1.3 version and then have to migrate the default 11gR1 database to 11.2.0.3 version. Please help with some step by step docs

    Want a complete migration guide to upgrade 11.1.0.7 to 11.2.0.3 database using DBUA..We are implementing R12.1.3 version and then have to migrate the default 11gR1 database to 11.2.0.3 version. Please help with some step by step docs

    Upgrade to 11.2.0.3 -- Interoperability Notes Oracle EBS R12 with Oracle Database 11gR2 (11.2.0.3) (Doc ID 1585578.1)
    Upgrade to 11.2.0.4 (latest 11gR2 patchset certified with R12) -- Interoperability Notes EBS 12.0 and 12.1 with Database 11gR2 (Doc ID 1058763.1)
    Thanks,
    Hussein

  • Welcome. At the outset, I'm sorry for my English :) Please help with configuration Photoshop CS6 appearance. How to disable the background of the program so you can see the desktop. (same menus and tools) Chiałbym to be the same effect as CS5.

    Welcome.
    At the outset, I'm sorry for my English
    Please help with configuration Photoshop CS6 appearance.
    How to disable the background of the program so you can see the desktop. (same menus and tools)
    i wantto be the same effect as CS5.

    Please try turning off
    Window > Application Frame

  • HT201210 cont contact apple server error please help with ipad touch 4. im just fed up with apple please help me because why is it only apple with these kind of problems?

    cont contact apple server error please help with ipad touch 4. im just fed up with apple please help me because why is it only apple with these kind of problems?

    If you mean updae server
    Update Server
    Try:
    - Powering off and then back on your router.
    - iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    - Change the DNS to either Google's or Open DNS servers
    Public DNS — Google Developers
    OpenDNS IP Addresses
    - For one user uninstalling/reinstalling iTunes resolved the problem
    - Try on another computer/network
    - Wait if it is an Apple problem
    Otherwise what server are you talking about

  • HT3209 Purchased DVD in US for Cdn viewing. Digital download will not work in Cda or US? please help with new Digital code that will work

    Purchased DVD in US for Cdn viewing. Digital download will not work in Cda or US? please help with new Digital code that will work

    You will need to contact the movie studio that produced the DVD and ask if they can issue you a new code valid for Canada. Apple cannot help you, and everyone here in these forums is just a fellow user.
    Regards.

Maybe you are looking for

  • To find the time required by the process chain to complete

    Hi Experts, I am calulating the average time required by the process chain to compete. Is there any way to find the time required by the process chain to complete.. Thanks in advance. Regards, Ashwin

  • Iweb hates me! Can't publish at all to Godaddy

    I have a username, password, domain name, and hosting account through godaddy. All I want is to publish my iWeb site to my registered domain name. All I get are error messages that a connection could not be determined to my domain. I have changed my

  • Question about Gimp...

    Hey guys. I have a quick question about Gimp(2.6). After I edit a photo and save it (to what I think is my iPhoto folder) I cant find it when I open up iPhoto. Where am I going wrong? I am trying to save a copy of the image to an existing iPhoto fold

  • Process after return invoice from customer

    Dear gurus, Would anyone help me on this issue below? I created customer orders for one customer in three spesific times. One of these orders is service(no PGI) others are with PGI. Now our client send us one return invoice which includes both servic

  • My lap hp envy 17-j130us problem with playing videos and audio

    when i am playing videos it freezes up to 2 seconds and playing continously as well as playing audio in music player also.i have downloaded videos in youtube mkv file with high resoluton 1080p video it was freezing at starting and after playing too f