For example, in photo shop you can draw a line then select that line and contract the pixels maybe 3 pixels (depending if the line I drew was thicker)and fill that area with a color.
Thus the line has a color with a black outline.
Is it possible in illustrator to be able to do this just by simply drawing a line and having illustrator do it for you?
completely new to illustrator