Inscribing the image in the points connectd by lines

i have a problem in drawing lines inscribing the image over array of points
my code is
public class CaptureConvex extends JPanel {
private BufferedImage image;
Rectangle rect;
Ellipse2D.Double circle;
Dimension size = new Dimension();
private ConvexHull process;
CaptureConvex(BufferedImage image,ConvexHull process)
this.image = image;
this.process = process;
rect = new Rectangle(image.getWidth(), image.getHeight());
protected void paintComponent(Graphics g) {
//super.paintComponent(g);
Graphics2D g2 = (Graphics2D)g;
g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
RenderingHints.VALUE_ANTIALIAS_ON);
double cx = rect.getCenterX();
double cy = rect.getCenterY();
double radius = Point2D.distance(cx, cy, rect.x, rect.y);
int diameter = (int)(2*radius)+1;
size.setSize(diameter, diameter);
// Draw image centered.
rect.x = (size.width - rect.width)/2;
rect.y = (size.height - rect.height)/2;
System.out.println(size.width+"newradius"+size.height);
System.out.println(rect.x+"newradius"+rect.y);
g2.drawImage(image, rect.x,rect.y, null);
double rx[] = process.getRxValue();
double ry[] = process.getRyValue();
int nValue = process.getnValue();
/** here is the problem
for (short i= 0;i<nValue;i++)
          g2.draw(new Line2D.Double(rx[i]+27,ry[i]+27,rx[i+1]+27,ry[i+1]+27));
}

import java.awt.*;
import java.awt.event.*;
import java.awt.geom.*;
import java.awt.image.BufferedImage;
import java.io.*;
import java.util.*;
import java.util.List;
import javax.imageio.ImageIO;
import javax.swing.*;
public class ConvexClip extends JPanel implements ActionListener {
    BufferedImage image;
    Rectangle rect;
    Random seed = new Random();
    Path2D.Double convexHull;
    boolean clipImage = false;
    ConvexClip(BufferedImage image) {
        this.image = image;
    protected void paintComponent(Graphics g) {
        super.paintComponent(g);
        Graphics2D g2 = (Graphics2D)g;
        g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                            RenderingHints.VALUE_ANTIALIAS_ON);
        if(rect == null)
            initGeometry();
        // Center the image in this component.
        int w = getWidth();
        int h = getHeight();
        rect.x = (w - rect.width)/2;
        rect.y = (h - rect.height)/2;
        // Position the convexHull over the image.
        AffineTransform at =
            AffineTransform.getTranslateInstance(rect.x, rect.y);
        Shape centeredHull = at.createTransformedShape(convexHull);
        if(clipImage) {
            Shape oldClip = g2.getClip();
            g2.setClip(centeredHull);
            g2.drawImage(image, rect.x, rect.y, this);
            g2.setClip(oldClip);
            g2.setPaint(getBackground());
            g2.draw(centeredHull);
        } else {
            g2.drawImage(image, rect.x, rect.y, this);
            g2.setPaint(Color.red);
            g2.draw(centeredHull);
    private void initGeometry() {
        rect = new Rectangle(image.getWidth(), image.getHeight());
        // Make up some points within the bounds of rect
        // whose current origin is 0,0.
        int n = 5 + seed.nextInt(10);  // [5 <= n < 15]
        Point2D.Double[] pts = new Point2D.Double[n];
        for(int j = 0; j < n; j++) {
            pts[j] = new Point2D.Double();
            pts[j].x = seed.nextInt(rect.width);
            pts[j].y = seed.nextInt(rect.height);
        Line2D.Double[] lines = new ConvexHull().getHull(pts);
        convexHull = new Path2D.Double();
        for(int j = 0; j < lines.length; j++) {
            convexHull.append(lines[j], true);
    public void actionPerformed(ActionEvent e) {
        clipImage = ((JCheckBox)e.getSource()).isSelected();
        repaint();
    private JPanel getUIPanel() {
        JCheckBox cb = new JCheckBox("clip", clipImage);
        cb.addActionListener(this);
        JPanel panel = new JPanel();
        panel.add(cb);
        return panel;
    public static void main(String[] args) throws IOException {
        String path = "images/hawk.jpg";
        BufferedImage image = ImageIO.read(new File(path));
        ConvexClip test = new ConvexClip(image);
        JFrame f = new JFrame();
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        f.add(test);
        f.add(test.getUIPanel(), "Last");
        f.setSize(400,400);
        f.setLocation(200,200);
        f.setVisible(true);
class ConvexHull {
    public Line2D.Double[] getHull(Point2D.Double[] points) {
        List<Line2D.Double> hull = new ArrayList<Line2D.Double>();
        double min = Integer.MAX_VALUE;
        int minIndex = -1;
        for(int i = 0; i < points.length; i++) {
            if(points.y <= min) {
min = points[i].y;
minIndex = i;
int start = minIndex;
double lastTheta = 0;
int next = -1;
// Find point with minimum angular displacement.
int count = points.length;
do {
next = getNextIndex(start, lastTheta, points);
hull.add(new Line2D.Double(points[start], points[next]));
lastTheta = getTheta(points[start], points[next]);
start = next;
} while(count-- > 0 && next != minIndex);
return hull.toArray(new Line2D.Double[hull.size()]);
private double getTheta(Point2D.Double p1, Point2D.Double p2) {
double dy = p2.y - p1.y;
double dx = p2.x - p1.x;
double theta = Math.atan2(dy, dx);
if(theta < 0)
theta += 2*Math.PI;
return theta;
private int getNextIndex(int index, double lastTheta,
Point2D.Double[] points) {
double min = Double.MAX_VALUE;
int minIndex = 0;
for(int i = 0; i < points.length; i++) {
if(i == index)
continue;
double theta = getTheta(points[index], points[i]);
if(theta == 0)
theta += 2*Math.PI;
if(theta < min && theta >= lastTheta) {
min = theta;
minIndex = i;
return minIndex;

Similar Messages

  • What is the point of jpg files being sidecar files to raw images?

    When importing folders containing raw and jpeg copies of each image (in my case NEF and JPG), you only ever have access to the raw file in LR, even though the jpeg is imported into the catalogue. I can't really see the point of this functionality, apart from knowing that there is a jpeg present.
    Although you can import with the 'treat JPEG ... as separate photos' option checked, if you have already imported without this option, applied adjustments, etc. to your raw images, then decided that you want to see the jpg images as well, it seems that you can't do it and preserve your raw image adjustments. I tried exporting the catalogue, then deleting the raw+jpeg images from the catalogue, re-importing with treat jpeg as separate photos, then trying to restore the raw adjustments from the exported catalogue. This resulted in a Warning dialog - 'Lightroom could not import this catalogue because of an unknown error'. This is not very helpful. Despite this 'unknown error', I ended up with one duplicated raw file (the first image) with the adjustments that I saved in the exported catalogue.
    It would be far better and more useful (to me at least) if LR had a function that could toggle between the 'coupled' and 'uncoupled' state for raw+jpeg files in a similar way that images can be stacked and unstacked. I would like to be able to selectively view my jpeg's for comparison purposes with the raw images, since LR generally does a poor job of converting NEF files to an 'as shot' image, which is where I would like to start from. I love LR, but feel that its inability to handle NEF conversions properly is a very big minus.
    Tony

    To your post header, I think the point of referenced images is self evident. They allow you to store your images on external media, or to utilize your own folder structure for organization in the finder. Many people prefer this to having Aperture manage the images in one library. I use a combination of both methods.
    That's the "point" of them. Now if you're having some issues using them, or it you're experiencing unusual behavior that's a different topic. I round trip to Photoshop (less and less with 2.1 and the new plug-ins) with my referenced images without the problems you describe. Once I've made my edits in Photoshop and save the image, when I return to Aperture the image appear next to the original, in a stack, displaying the edits I performed in Photoshop. Additionally the new image is stored in the same location as my referenced image.
    Why you're not seeing this I'm not certain. There can't be a stack of one image. What can happen if you have a smart album for example, or the search field set to display only 5 star rated images, is that the photo from a stack that meets that criteria will show up in the browser. It will also show the stack number. However, if no other images in the stack meet the criteria of the search, they will not display even if you click on the stack. So it will seem like there is a stack of one image since you can display only that one image. This only happens if you've got a filter of some kind in effect.
    I also don't have the problems with thumbnails you describe, and I use Aperture daily with thousands of images. I would suggest rebuilding your library as a first step (hold down the command-option key at launch).

  • What is the point of referenced images

    i'm starting to think either ap2.1 is a vastly inferior product to its predecessor, or there are just so many bugs and kinks that still have yet to be worked out and apple has given no indication when they will.
    In addition to my still unresolved constant thumbnail regeneration issue when using referenced images from when ap2.0 launched, I am now experiencing problems when trying to edit referenced images using an external editor (in my case photoshop)
    after exporting the image via aperture to photoshop for editing, making my edits, and then saving them in phothshop, the psd. file which is created in aperture is NOT acknowledging the edit...typically when working with a non-referenced image aperture will update the psd. file almost immediately with a new thumbnail image recognizing the change. in this case, not only is it not generating a new thumbnail, but when i click on generate thumbnail nothing happens. furthermore, upon closing and reopening aperture, the referenced psd. is missing, and the original referenced RAW image file is stacked with only itself (a small number 1 indicating a stack but only 1 image in the stack).
    is there an aperture support number that I can call? I have been severely disappointed with the performance of this program.

    To your post header, I think the point of referenced images is self evident. They allow you to store your images on external media, or to utilize your own folder structure for organization in the finder. Many people prefer this to having Aperture manage the images in one library. I use a combination of both methods.
    That's the "point" of them. Now if you're having some issues using them, or it you're experiencing unusual behavior that's a different topic. I round trip to Photoshop (less and less with 2.1 and the new plug-ins) with my referenced images without the problems you describe. Once I've made my edits in Photoshop and save the image, when I return to Aperture the image appear next to the original, in a stack, displaying the edits I performed in Photoshop. Additionally the new image is stored in the same location as my referenced image.
    Why you're not seeing this I'm not certain. There can't be a stack of one image. What can happen if you have a smart album for example, or the search field set to display only 5 star rated images, is that the photo from a stack that meets that criteria will show up in the browser. It will also show the stack number. However, if no other images in the stack meet the criteria of the search, they will not display even if you click on the stack. So it will seem like there is a stack of one image since you can display only that one image. This only happens if you've got a filter of some kind in effect.
    I also don't have the problems with thumbnails you describe, and I use Aperture daily with thousands of images. I would suggest rebuilding your library as a first step (hold down the command-option key at launch).

  • What's the point of the grey space around an image?

    I understand the point of the grey space around an image when viewing in 'Fit' mode, because the image may or may not fill up the viewing space depending upon its aspect ratio...
    But when you zoom in to 1:1 mode, and you scroll around your picture, why is there still this large amount of grey space around your image? If I scroll to the end of my image, it should just stop scrolling, not scroll over the end of my image into this vast amount of unusable and unnecessary grey space!
    It's just annoying that every time I happen to be scrolling around fast, I scroll over the edges of my image into this vast grey space & I just can't fathom the reason for its existence.
    For a better picture of what I'm talking about, see here:
    http://web.mac.com/rishisanyal/Lightroom/UnusableSpace.jpg
    -Rishi

    Actually, it makes perfect sense to scroll in this fashion. It means that every part of the image can occupy the sweet centre spot of your monitor, even with all the panels open.
    Try it. Even that important corner area of the image can be centred on your monitor. Particularly important when performing some spotting along the edges.

  • What is the point of the download window if you use stacks?

    Greetings,
    One of the most annoying things about the download window was the fact that the window always hung around after completing dowloads in Tiger when using safari. To me, that was just a time waster of always pressing Apple+W to close that window.
    When Leopard was released, I was excited to realize that one function of the download stack was to recevie downloads from safari after completed. However, after completion, the download window still sticks around and I still have to close it... then navigate to my stack of downloads to mount the image. What is the point of the download window is I use stacks now? Why can't the window disappear after completion?
    //Cheers

    Aaargh!! Me too - it's so annoying! Firefox has a downloads window as well - I just don't see the point of it. I didn't like it in Tiger either.
    As a way to see the progress of downloads, it's fine, but it should at least close when all the downloads are finished, and completed downloads should not display.
    Ideally it should look & work exactly like the Copy window in Finder - the one that comes up when you are copying or moving a large file or number of files from one folder to another.
    Is there a hack that will make it work like that?

  • "Save as" misses the point

    Hi,
    the Save as… function is back which makes me quite happy.
    But after using it the first time with preview, I am greatly disappointed. It doesn't work the way it previously did and should work. I cropped several images and hat to manually recover all of the originals because they were automatically saved with the same changes as the new copies. I have the feeling that the developers didn't understand what "Save as" is and why it is so useful. Right now it's just duplicating.
    The Save-as concept works this way:
    - Open a document (file)
    - Edit it
    - Decide that these changes are worth a new version of your document (developers call it fork or so)
    - Choose the menu item "Save as" to save the changed document as a new one
    - The original document remains untouched in it's place
    It is self explanatory that I save the changes into the new document, but not into the original.
    This should apply even though "Autosave" is on and the original document is closed automatically. –> Design error
    Additionally I had turned on the option "Ask to save before closing...." but the system didn't ask, it just saved and closed the file automatically. –> Bug
    What Mountain Lion did when I edited my images: It saved all changes to the new AND the original images. All the originals were also cropped and I had to use the star wars mode to recover every image one by one. Frustrated would be an understatement.

    Since Steve has died, things are getting worse!
    What kind of idiot had the idea to change something which cannot be made better?
    Confusion all around and loss of data is the result, because it is different in different applications too.
    http://www.golem.de/news/mac-os-x-10-8-speichern-unter-ist-keine-gute-idee-1208- 93644.html
    http://macperformanceguide.com/LionHairballs-SaveAsGone.html
    Let`s tell Apple that they missed the point how computers an human beings work.
    http://www.apple.com/feedback/macosx.html

  • What's the point of a virtual copy if it can't be in a different folder from the master?

    When I spotted "Make virtual copy" on the context menu, I thought "Great - I can organize my photos in different ways without wasting disk space by using aliases!"
    But when I tried to move the virtual copy to another folder, LR said Nope!
    So I moved the master - and the copy moved with it.
    What am I missing? I've seen the reference to Smart Collections, but they seem to be based on ratings or flags, not arbitrary subject-matter groupings.
    So I created a "dumb collection" (my term, in distinction from the automatic groupings), made virtual copy and copied the virtual copy to the collection.
    Then I then went back to the original folder and deleted the virtual copy from the original folder.
    It vanished from the collection as well.
    Is a virtual copy merely a way to make and save an alternative edit of a photo - but only in the same folder as the original?

    A virtual copy is virtual. It is a record of the processing settings you made held in the database. LR never makes changes to the original files and does not create copies of original files (except on import if you so choose). A new file is created on export with the processing settings recorded in the database. The folder structure is irrelevant to LR other than LR needs to know where the file is on your computer.A virtual copy does not make an actual copy anywhere on your hard drive. It takes up no space as it is just a few lines of metadata recorded in the catalog. Hence virtual copy.
    The point is that you may require several different versions of the same image file, different crops, different processing settings etc. These can all be recorded in the catalog and when you require the particular version you export it. On export it can be sent anywhere you like.
    I would suggest you have a look at the LR manual through the help system (press F1 when LR is open) and have a look at some of the video tutorials in order to understand the basics of LR

  • What's the point of nicknames for reviews if they must be unique?

    I just attempted to write a review and was told my nickname taken.

    A virtual copy is virtual. It is a record of the processing settings you made held in the database. LR never makes changes to the original files and does not create copies of original files (except on import if you so choose). A new file is created on export with the processing settings recorded in the database. The folder structure is irrelevant to LR other than LR needs to know where the file is on your computer.A virtual copy does not make an actual copy anywhere on your hard drive. It takes up no space as it is just a few lines of metadata recorded in the catalog. Hence virtual copy.
    The point is that you may require several different versions of the same image file, different crops, different processing settings etc. These can all be recorded in the catalog and when you require the particular version you export it. On export it can be sent anywhere you like.
    I would suggest you have a look at the LR manual through the help system (press F1 when LR is open) and have a look at some of the video tutorials in order to understand the basics of LR

  • How can I reduce the size of a photo proportionally.  With my old Mac mini I was able to place the pointer on the bottom right corner  hold the shift key until I achieved the desires size.

    How can I reduce the size of a photo PROPORTIONALLY?  With my old Macmini I was able to place the pointer on the bottom right corner of the picture, hold down the shift key and move the pointer to achieve the desired size.  

    You'll need to use a 3rd party editor like one of these:
    Some Image Editors That Support layers:
    Photoshop Elements 11 for Mac - $79
    Rainbow Painter - $30
    Imagerie - $38
    Acorn - $50
    Pixelmator - $60 
    Seashore - Free
    Portraits and Prints - Free
    GIMP for Mac - Free
    Xee 2.1 - free
    My personal preference would be for Photoshop Elements for Mac. Most of these will let you select and copy a head from one photo, paste it into another photo, resize and place where you need it.
    PSE has a specific feature just for that function.  I belive the Adobe site for PSE has a demo video of that feature.
    OT

  • Overlapping polygon and how to determine the points

    I have a larger footprint polygon/table called A and a sub-polygon/table called B.
    I need to identify which is polygon A and which is polygon B because they overlap with each other.
    And I need to identify all the point that falls within A and B.
    which means A = A and B = A+B and the other points that do notfall within A and B will be null.
    How do I start this assignment?
    I was thinking
    alter table A
    add  (ID varchar( 50 BYTE)) ;
    update A
    set ID = 'larger';
    --TO do a point in Polygon
    PROCEDURE point_polyA
    IS
         proc_name varchar2(50);
    BEGIN
         proc_name := 'point_polyA';
         add_log(proc_name,'Start processingpolyA');
         COMMIT;
         FOR x IN (SELECT id, geoloc
                       FROM A)
         LOOP     
              FOR y IN (SELECT a.*
                            FROM point
                           WHERE sdo_filter (A.geoloc, x.geoloc) = 'TRUE')
              LOOP               
                   IF sdo_geom.relate(y.geoloc, 'ANYINTERACT', x.geoloc, 5) = 'TRUE' THEN
                        INSERT INTO point_polyA ( id)
                             VALUES ( x.id);
                   END IF;          
              END LOOP;
              COMMIT;
         END LOOP;
         add_log(proc_name,'Finish!');
         COMMIT;
         EXCEPTION
                 WHEN OTHERS THEN
                    add_log(proc_name, substr(SQLCODE||' '||SQLERRM, 1, 199));
         COMMIT;Do the same for B then
    select ID
    from A,B
    where sdo_relate(A.geoloc,B.geoloc,'mask = contains') = 'TRUE';Message was edited by:
    CrackerJack

    Hi,
    this
    rownum<2
    making sure that only the one clicked polygon is rendered/displayed
    (pls see the [image of the screen |http://bp0.blogger.com/_8PXbvmaOB6M/SEe0rNCz4nI/AAAAAAAAAWo/lOHcLjbIz-U/s1600-h/verschneiden_snap3.png] )
    i.e. you click on the polygon of the area (county) and get the FOI as per Parameter 1 (which are the records/FOI contained in the first table "DEKUNDEN" = customers)
    in ur above code you will need to say:
    (b.geoloc, :1)
    recommend to firstly try to achieve a result with the delivered MVDEMO data.
    Then the SQL of the theme will look as follows:
    select a.location, a.name,
    a.city, a.sales from customers a where sdo_relate(a.location, (select
    geom from counties b where sdo_contains(b.geom, :1)='TRUE' and
    rownum&lt;2), 'mask=ANYINTERACT')='TRUE'
    re) attributes for both points and polygon
    --> for the points (customer table/theme) usually you get an Infowindow automatically for the theme "customers" for the "Info columns" you have defined in the ADVANCED Tab of the theme in the Mapbuilder.
    --> for the polygon you'll have to assign an info window on "mouse_right_cklick" as the "mouse-click" (left) has already been used for selelcting the polygon.
    and lastly I am not dealing with a webservice - just 2 tables: "customers" (with the POI - points) and "counties" (the polygon - area) from the MVDEMO example data.
    Hope that helped and I did not make more complicated - sorry - but it is quite complex (;-).
    Bernhard
    Edited by: BernhardFW on Aug 25, 2008 1:30 PM

  • Using Pen tool to create mask _ How do you get the points to stop connecting together?

    I've masked the sky over the roof of a home. Started on the left side of the photo and moved over the house detailing it to the right side of the photo. When I try to create the mask by clicking Command /enter the points on the left and right side of the image connect which makes it impossible for the mask in the sky to work.

    Hi John,
    Thanks. I figured it out so there’s no need.
    Aloha,
    Rick Doyle
    [personal information removed... Mod - https://forums.adobe.com/docs/DOC-3731]
    [This is an open forum, not Adobe support, please do not post personal information]
    [If you are posting using email, please turn your 'sig file' function OFF for posting]

  • What's the Point of Photo Stream?

    What is the point of having the option to turn on or off the photo stream if it no longer exists?  If it has been replaced by the recent activity feature then why not have the option to turn on or off the recent activity feature?

    Photo Stream only handles images and your videos are not uploaded or shared with other devices.
    Use iPhoto to import from your device. It can bring in the videos and image files.

  • Whats the point of Photos if you don't use the cloud?

    I find iPhoto useful as quick reference library for my images. Most of the time I use Lightroom & Photoshop, but iPhoto and Aperture have their uses. Given my experience of the apallingly poor (virtually non-existant) synchronisation using iCloud with Pages, Numbers and Keynote that I have experienced over the past few months despite repeatably checking that I have the latest versions etc. I will NEVER store my images on someone else's servers. To that end, what is the point of Photos?
    I own a number of 2TB & 3TB hard drives which store my images and backup reliably and which I have already paid for. Why would I want to pay Apple to store yet more copies and suffer the inevitable loss of control over retrieving them, which is what I have experienced with Pages, Numbers and Keynote.
    As regards synchronising with all my devices - no thanks. I can easily copy images to my iPad via iTunes. No doubt Apple will remove this option at some point to force us to rent space on the Cloud. When that happens I will abandon Apple totally. You have been warned Apple execs!

    What I don't understand is your comment that you use iPhoto as a quick reference library for your photos? Why would you not use Lightroom for that purpose - a much better photo management tool than iPhoto is.
    As to why you would use Photos - again it would depend on your answer to the above question. The same way you import your photos into iPhoto you can import them into Photos and use it as a "quick reference tool". And you don't have to enable iCloud Photo Library, just keep your photos on your own computer/drives. I don't use iPhoto (my wife did) and I used Aperture and Pixelmator (a Photoshop-lite alternative). I plan on using Photos (and the iCloud Photo Library) to the photos that my wife and I take with our iPhones (and the ones we decide to save from Facebook) mainly. I occasionally will add some photos from Aperture (or Lightroom when I get around to migrating to that from Aperture) that my wife wants access to.

  • Why is the points on the 4 point matte incorrect ?

    Hi all FCE4 experts,
    I am trying to use the 4-point matte to cover-up some of the video clip.
    But when I click one point of the clip in the canvas, instead it went/move to another location ? I cannot get the 4 points correct.
    I also make sure I did not enlarge the clip & still image & let it be at its default scale.
    Any ideas ?
    Thank you

    Ian R. Brown wrote:
    When you select the Garbage Matte you must open the Filters tab in the Viewer where you will see the 4 points listed with a button containing a + alongside.
    Click on Point 1 in the Filters window and then click in the Canvas where you want Point 1 to go. (Alternatively you can grab and drag it). However, you only have one go, and once you have repositioned it or let go of the mouse you can't move it again until you once more click the Point 1 in the Filter window.
    Thanks Ian,
    I did like what you said, I click on Point 1 with the "+" sign then I move to the Canvas & click on a point in the canvas.
    Originally all 4 points (ie Point 1, 2, 3, 4) are all at the corners but the moment I click on a point at the canvas, FCE changes the corner of Point 1 to a different position. But this position is NOT the location that I clicked earlier !!
    Any ideas ?

  • Data Point Symbol in Line Graph  - can you change the size?

    I would like to change the Data Point Symbols in line graphs - if not the actual symbol it would be wonderful to be able to change the size of the symbols provided.
    At present, if there is a lot of data in the graph, the symbols are too big and crowd one another.
    I know that one can reduce the line size but that doesn't change the symbol size.
    Help please.

    If I understand your question, this from the Pages online help may give the answer:
    To mark line, area, and scatter charts with data point symbols:
    Select the entire chart. You can also select the chart series (the line or area shape) that you want to mark with data point symbols.
    Click Inspector in the toolbar, and then click the Chart Inspector button.
    Click Series (except for scatter charts).
    Choose a symbol from the Data Point Symbol pop-up menu.
    Choose one of the following options from the Symbol Fill pop-up menu:
    To fill the symbol with the same color as its outline, choose Use Stroke Color.
    To fill the symbol with a solid color, choose Color Fill, click the Fill color well, and pick a color.
    To fill the symbol with a gradient, choose Gradient Fill and use the gradient controls to set the colors and change the angle of the gradient.
    To fill the symbol with an image, choose Image Fill and select the image you want. You can also resize the image by choosing an option from the pop-up menu above the Choose button.
    To fill the symbol with a tinted image, choose Tinted Image Fill and select the image you want. Click the color well to the right of the Choose button to change the tint color. You can also resize the image by choosing an option from the pop-up menu above the Choose button.

Maybe you are looking for