TButtonDesignerLayer32.ButtonOutline

property ButtonOutline: TPathD; //read and write


ButtonOutline returns the path used to draw the button, whether circular, rectangular or diamond shaped. Even though it doesn't take into consideration line width or button shadowing, this outline is particularly useful for hit-testing.